Provide interactions with the Shell TTY.
Constructor and description |
---|
Tty
(java.lang.Object delegate) |
Type | Name and description |
---|---|
java.lang.Object |
getDelegate() |
int |
height() @return
|
Tty |
resizehandler(io.vertx.core.Handler<java.lang.Void> handler) Set a resize handler, the handler is called when the tty size changes. |
Tty |
stdinHandler(io.vertx.core.Handler<java.lang.String> handler) Set a stream handler on the standard input to read the data. |
java.lang.String |
type()
|
int |
width() @return
|
Tty |
write(java.lang.String data) Write data to the standard output. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Set a resize handler, the handler is called when the tty size changes.
handler
- the resize handlerSet a stream handler on the standard input to read the data.
handler
- the standard input
Write data to the standard output.
data
- the data to write