| Constructor and description |
|---|
Pty
(java.lang.Object delegate) |
| Type | Name and description |
|---|---|
static Pty |
create()Create a new pseudo terminal with no terminal type. |
static Pty |
create(java.lang.String terminalType)Create a new pseudo terminal. |
java.lang.Object |
getDelegate() |
Pty |
setSize(int width, int height)Resize the terminal. |
Tty |
slave()@return
|
Pty |
stdoutHandler(io.vertx.core.Handler<java.lang.String> handler)Set the standard out handler of the pseudo terminal. |
Pty |
write(java.lang.String data)Write data to the slave standard input of the pseudo terminal. |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Create a new pseudo terminal with no terminal type.
Create a new pseudo terminal.
terminalType - the terminal type, for instanceResize the terminal.
Set the standard out handler of the pseudo terminal.
handler - the standard outputWrite data to the slave standard input of the pseudo terminal.
data - the data to write