| Modifier and Type | Field and Description |
|---|---|
| protected final Attributes | |
| protected final Pty |
| Access | Constructor and Description |
|---|---|
| public | |
| public | AbstractPosixTerminal(String name, String type, Pty pty, Charset encoding, Terminal.
|
| originalAttributes | back to summary |
|---|---|
| protected final Attributes originalAttributes | |
| pty | back to summary |
|---|---|
| protected final Pty pty | |
| AbstractPosixTerminal | back to summary |
|---|---|
| public AbstractPosixTerminal(String name, String type, Pty pty) throws IOException | |
| AbstractPosixTerminal | back to summary |
|---|---|
| public AbstractPosixTerminal(String name, String type, Pty pty, Charset encoding, Terminal. | |
| doClose | back to summary |
|---|---|
| protected void doClose() throws IOException Overrides jdk. | |
| getAttributes | back to summary |
|---|---|
| public Attributes getAttributes() Implements jdk. Doc from jdk. Returns the terminal attributes.
The returned object can be safely modified
further used in a call to | |
| getCursorPosition | back to summary |
|---|---|
| public Cursor getCursorPosition(IntConsumer discarded) Overrides jdk. Implements jdk. Doc from jdk. Query the terminal to report the cursor position.
As the response is read from the input stream, some
characters may be read before the cursor position is actually
read. Those characters can be given back using
| |
| getProvider | back to summary |
|---|---|
| public TerminalProvider getProvider() Implements jdk. Doc from jdk. Returns the
| |
| getPty | back to summary |
|---|---|
| public Pty getPty() | |
| getSize | back to summary |
|---|---|
| public Size getSize() Implements jdk. Doc from jdk. Retrieve the size of the visible window | |
| getSystemStream | back to summary |
|---|---|
| public SystemStream getSystemStream() Implements jdk. Doc from jdk. The underlying system stream, may be
| |
| setAttributes | back to summary |
|---|---|
| public void setAttributes(Attributes attr) Implements jdk. Doc from jdk. Set the terminal attributes. The terminal will perform a copy of the given attributes. | |
| setSize | back to summary |
|---|---|
| public void setSize(Size size) Implements jdk. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides jdk. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |