public class Tty extends Object
original non RX-ified interface using Vert.x codegen.| Modifier and Type | Method and Description |
|---|---|
Tty |
eventHandler(EventType eventType,
Handler<Void> handler)
Set an event handler to be notified by Shell events.
|
Object |
getDelegate() |
int |
height() |
static Tty |
newInstance(Tty arg) |
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() |
public Tty(Tty delegate)
public Object getDelegate()
public int width()
public int height()
public Tty setStdin(Stream stdin)
stdin - the standard inputpublic Tty setStdin(Handler<String> stdin)
stdin - the standard inputpublic Stream stdout()
public Tty eventHandler(EventType eventType, Handler<Void> handler)
eventType - the event typehandler - Copyright © 2015. All rights reserved.