| Modifier and Type | Field and Description | 
|---|---|
| static io.vertx.lang.rx.TypeArg<Term> | __TYPE_ARG | 
| Constructor and Description | 
|---|
| Term(Object delegate) | 
| Term(Term delegate) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close()Close the connection to terminal. | 
| Term | closeHandler(Handler<Void> handler)Set a handler that will be called when the terminal is closed. | 
| Term | echo(String text)Echo some text in the terminal, escaped if necessary. | 
| boolean | equals(Object o) | 
| Term | getDelegate() | 
| int | hashCode() | 
| Term | interruptHandler(SignalHandler handler)Set an interrupt signal handler on the term. | 
| long | lastAccessedTime() | 
| static Term | newInstance(Term arg) | 
| void | readline(String prompt,
        Handler<String> lineHandler)Prompt the user a line of text. | 
| void | readline(String prompt,
        Handler<String> lineHandler,
        Handler<Completion> completionHandler)Prompt the user a line of text, providing a completion handler to handle user's completion. | 
| Term | resizehandler(Handler<Void> handler)Set a resize handler, the handler is called when the tty size changes. | 
| Term | setSession(Session session)Associate the term with a session. | 
| Term | stdinHandler(Handler<String> handler)Set a stream handler on the standard input to read the data. | 
| Term | suspendHandler(SignalHandler handler)Set a suspend signal handler on the term. | 
| String | toString() | 
| Term | write(String data)Write data to the standard output. | 
height, newInstance, type, widthpublic static final io.vertx.lang.rx.TypeArg<Term> __TYPE_ARG
public Term getDelegate()
getDelegate in class Ttypublic Term resizehandler(Handler<Void> handler)
Ttyresizehandler in class Ttyhandler - the resize handlerpublic Term stdinHandler(Handler<String> handler)
TtystdinHandler in class Ttyhandler - the standard inputpublic Term write(String data)
Ttypublic long lastAccessedTime()
public Term echo(String text)
text - the text to echopublic Term setSession(Session session)
session - the session to setpublic Term interruptHandler(SignalHandler handler)
handler - the interrupt handlerpublic Term suspendHandler(SignalHandler handler)
handler - the suspend handlerpublic void readline(String prompt, Handler<String> lineHandler)
prompt - the displayed promptlineHandler - the line handler called with the linepublic void readline(String prompt, Handler<String> lineHandler, Handler<Completion> completionHandler)
prompt - the displayed promptlineHandler - the line handler called with the linecompletionHandler - the completion handlerpublic Term closeHandler(Handler<Void> handler)
handler - the handlerpublic void close()
Copyright © 2024 Eclipse. All rights reserved.