public interface Tty
| Modifier and Type | Method and Description |
|---|---|
Tty |
eventHandler(EventType eventType,
Handler<Void> handler)
Set an event handler to be notified by Shell events.
|
int |
height() |
Tty |
setStdin(Handler<String> stdin)
Set an handler the standard input to read the data in String format.
|
Tty |
setStdin(Stream stdin)
Set a stream on the standard input to read the data.
|
Stream |
stdout() |
int |
width() |
int width()
int height()
Tty setStdin(Stream stdin)
stdin - the standard inputTty setStdin(Handler<String> stdin)
stdin - the standard inputStream stdout()
Copyright © 2015. All rights reserved.