public class Tty extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<Tty> |
__TYPE_ARG |
Constructor and Description |
---|
Tty(Object delegate) |
Tty(io.vertx.ext.shell.term.Tty delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
io.vertx.ext.shell.term.Tty |
getDelegate() |
int |
hashCode() |
int |
height() |
static Tty |
newInstance(io.vertx.ext.shell.term.Tty arg) |
Tty |
resizehandler(io.vertx.core.Handler<Void> handler)
Set a resize handler, the handler is called when the tty size changes.
|
Tty |
stdinHandler(io.vertx.core.Handler<String> handler)
Set a stream handler on the standard input to read the data.
|
String |
toString() |
String |
type() |
int |
width() |
Tty |
write(String data)
Write data to the standard output.
|
public Tty(io.vertx.ext.shell.term.Tty delegate)
public Tty(Object delegate)
public io.vertx.ext.shell.term.Tty getDelegate()
public String type()
public int width()
public int height()
public Tty stdinHandler(io.vertx.core.Handler<String> handler)
handler
- the standard inputpublic Tty write(String data)
data
- the data to writepublic Tty resizehandler(io.vertx.core.Handler<Void> handler)
handler
- the resize handlerpublic static Tty newInstance(io.vertx.ext.shell.term.Tty arg)
Copyright © 2021 Eclipse. All rights reserved.