Provide interactions with the Shell TTY.
| Type | Name and description |
|---|---|
Tty |
eventHandler(EventType eventType, Handler<Void> handler)Set an event handler to be notified by Shell events. |
Object |
getDelegate() |
int |
height()@return
|
Tty |
setStdin(Stream stdin)Set a stream on the standard input to read the data. |
Tty |
setStdin(Handler<String> stdin)Set an handler the standard input to read the data in String format. |
Stream |
stdout()@return
|
int |
width()@return
|
Set an event handler to be notified by Shell events.
eventType - the event type
Set a stream on the standard input to read the data.
stdin - the standard inputSet an handler the standard input to read the data in String format.
stdin - the standard input
io.vertx:vertx-shell:3.1.0