terminal_js.odin 247 B

123456789101112131415
  1. #+private
  2. #+build js
  3. package terminal
  4. import "core:os"
  5. _is_terminal :: proc "contextless" (handle: os.Handle) -> bool {
  6. return true
  7. }
  8. _init_terminal :: proc "contextless" () {
  9. color_depth = .None
  10. }
  11. _fini_terminal :: proc "contextless" () { }