public interface Tty
Modifier and Type | Method and Description |
---|---|
int |
height() |
Tty |
resizehandler(Handler<Void> handler)
Set a resize handler, the handler is called when the tty size changes.
|
Tty |
stdinHandler(Handler<String> handler)
Set a stream handler on the standard input to read the data.
|
String |
type() |
int |
width() |
Tty |
write(String data)
Write data to the standard output.
|
String type()
int width()
int height()
Tty stdinHandler(Handler<String> handler)
handler
- the standard inputTty write(String data)
data
- the data to writeCopyright © 2024 Eclipse. All rights reserved.