class
Termisu::TTY
- Termisu::TTY
- Reference
- Object
Overview
Low-level TTY (terminal) interface for reading from and writing to /dev/tty.
Example:
tty = Termisu::TTY.new
# ... use tty ...
tty.close
Defined in:
termisu/tty.crConstructors
-
.new
Opens
/dev/ttyfor terminal access.
Instance Method Summary
-
#close
Closes the TTY file descriptors.
- #flush
- #infd : Int32
- #outfd : Int32
- #write(data : String)