public class DefaultNSystemTerminalBase extends NSystemTerminalBaseImpl
NSystemTerminalBase.Cursor, NSystemTerminalBase.Size| Modifier and Type | Field and Description |
|---|---|
static NDuration |
EXPIRY_30S |
protected boolean |
lastWasProgress |
| Constructor and Description |
|---|
DefaultNSystemTerminalBase() |
| Modifier and Type | Method and Description |
|---|---|
NCmdLineAutoCompleteResolver |
autoCompleteResolver() |
NSystemTerminalBase |
commandAutoCompleteResolver(NCmdLineAutoCompleteResolver autoCompleteResolver) |
NTerminalFormatter |
commandHighlighter() |
DefaultNSystemTerminalBase |
commandHighlighter(NTerminalFormatter commandHighlighter) |
NCmdLineHistory |
commandHistory() |
NSystemTerminalBase |
commandHistory(NCmdLineHistory history) |
NPrintStream |
err() |
InputStream |
in() |
boolean |
isAutoCompleteSupported() |
boolean |
isLastWasProgress() |
void |
lastWasProgress(boolean lastWasProgress) |
NPrintStream |
out() |
String |
readLine(NPrintStream out,
NMsg message) |
char[] |
readPassword(NPrintStream out,
NMsg message) |
Object |
run(NTerminalCmd command,
NPrintStream printStream) |
void |
styles(NTextStyles styles,
NPrintStream printStream) |
clearScreen, resetLine, terminalCursor, terminalSizepublic static final NDuration EXPIRY_30S
protected boolean lastWasProgress
public boolean isLastWasProgress()
isLastWasProgress in class NSystemTerminalBaseImplpublic void lastWasProgress(boolean lastWasProgress)
lastWasProgress in class NSystemTerminalBaseImplpublic String readLine(NPrintStream out, NMsg message)
public char[] readPassword(NPrintStream out, NMsg message)
public InputStream in()
public NPrintStream out()
public NPrintStream err()
public NCmdLineAutoCompleteResolver autoCompleteResolver()
public boolean isAutoCompleteSupported()
public NSystemTerminalBase commandAutoCompleteResolver(NCmdLineAutoCompleteResolver autoCompleteResolver)
public NCmdLineHistory commandHistory()
public NSystemTerminalBase commandHistory(NCmdLineHistory history)
public NTerminalFormatter commandHighlighter()
public DefaultNSystemTerminalBase commandHighlighter(NTerminalFormatter commandHighlighter)
public Object run(NTerminalCmd command, NPrintStream printStream)
public void styles(NTextStyles styles, NPrintStream printStream)
Copyright © 2026 vpc open source initiative. All rights reserved.