Class AbstractPosixTerminal
java.lang.Object
org.aesh.readline.terminal.impl.AbstractTerminal
org.aesh.readline.terminal.impl.AbstractPosixTerminal
- All Implemented Interfaces:
Closeable, AutoCloseable, org.aesh.terminal.Terminal
- Direct Known Subclasses:
PosixSysTerminal
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.aesh.terminal.Terminal
org.aesh.terminal.Terminal.SignalHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.aesh.terminal.Attributesprotected final Pty -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()org.aesh.terminal.Attributesprotected PtygetPty()org.aesh.terminal.tty.SizegetSize()voidsetAttributes(org.aesh.terminal.Attributes attr) Methods inherited from class AbstractTerminal
device, echo, echo, echoSignal, getName, getType, handle, handleDefaultSignal, raiseMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aesh.terminal.Terminal
getCodePointConsumer, input, output
-
Field Details
-
pty
-
originalAttributes
protected final org.aesh.terminal.Attributes originalAttributes
-
-
Constructor Details
-
AbstractPosixTerminal
- Throws:
IOException
-
-
Method Details
-
getPty
-
getAttributes
public org.aesh.terminal.Attributes getAttributes() -
setAttributes
public void setAttributes(org.aesh.terminal.Attributes attr) -
getSize
public org.aesh.terminal.tty.Size getSize() -
close
- Throws:
IOException
-