| Package | Description |
|---|---|
| net.morimekta.console |
| Modifier and Type | Class and Description |
|---|---|
class |
Terminal
Terminal interface.
|
| Modifier and Type | Method and Description |
|---|---|
InputSelection.Reaction |
InputSelection.Action.call(E entry,
LinePrinter printer)
Call the command with the given entry.
|
String |
InputLine.TabCompletion.complete(String before,
LinePrinter errorPrinter)
Try to complete the given string.
|
boolean |
InputLine.CharValidator.validate(Char ch,
LinePrinter errorPrinter)
Validate the given char.
|
boolean |
InputLine.LineValidator.validate(String line,
LinePrinter errorPrinter)
Validate the full line.
|
| Constructor and Description |
|---|
Terminal(STTY tty,
InputStream in,
OutputStream out,
LinePrinter lp,
STTYModeSwitcher switcher)
Constructor visible for testing.
|
Terminal(STTY tty,
LinePrinter lp)
Construct a terminal with a custom line printer.
|
Terminal(STTY tty,
STTYMode mode,
LinePrinter lp)
Construct a terminal with a terminal mode and custom line printer.
|
Copyright © 2016. All rights reserved.