Package io.vertx.mutiny.ext.shell.term
Class Tty
- java.lang.Object
-
- io.vertx.mutiny.ext.shell.term.Tty
-
- Direct Known Subclasses:
CommandProcess
,Term
public class Tty extends Object
Provide interactions with the Shell TTY. NOTE: This class has been automatically generated from theoriginal
non Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<Tty>
__TYPE_ARG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(Runnable handler)
Tty
stdinHandler(Consumer<String> handler)
String
toString()
String
type()
int
width()
Tty
write(String data)
-
-
-
Constructor Detail
-
Tty
public Tty(io.vertx.ext.shell.term.Tty delegate)
-
Tty
public Tty(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.shell.term.Tty getDelegate()
-
type
public String type()
- Returns:
- the declared tty type, for instance , , etc... it can be null when the tty does not have declared its type.
-
width
public int width()
- Returns:
- the current width, i.e the number of rows or if unknown
-
height
public int height()
- Returns:
- the current height, i.e the number of columns or if unknown
-
stdinHandler
public Tty stdinHandler(Consumer<String> handler)
- Parameters:
handler
- the standard input- Returns:
-
resizehandler
public Tty resizehandler(Runnable handler)
- Parameters:
handler
- the resize handler- Returns:
-
newInstance
public static Tty newInstance(io.vertx.ext.shell.term.Tty arg)
-
-