| Package | Description |
|---|---|
| net.morimekta.console | |
| net.morimekta.console.util |
| Constructor and Description |
|---|
Terminal(STTY tty,
STTYMode mode)
Construct a terminal with given mode.
|
Terminal(STTY tty,
STTYMode mode,
LinePrinter lp)
Construct a terminal with a terminal mode and custom line printer.
|
| Modifier and Type | Method and Description |
|---|---|
static STTYMode |
STTYModeSwitcher.currentMode()
Get the current TTY mode.
|
STTYMode |
STTYModeSwitcher.getBefore()
Get the mode that was replaced by the switcher.
|
STTYMode |
STTYModeSwitcher.getCurrentMode()
Get the current TTY mode.
|
STTYMode |
STTYModeSwitcher.getMode()
Get the mode set by the seitcher.
|
static STTYMode |
STTYMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static STTYMode[] |
STTYMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
STTYModeSwitcher |
STTY.setSTTYMode(STTYMode mode)
Set the current STTY mode, and return the closable switcher to turn back.
|
| Constructor and Description |
|---|
STTYModeSwitcher(STTYMode mode)
Deprecated.
|
STTYModeSwitcher(STTYMode mode,
Runtime runtime)
Switch to the requested mode until closed.
|
Copyright © 2016. All rights reserved.