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 |
getAutoCompleteResolver() |
String |
getCommandHighlighter() |
NCmdLineHistory |
getCommandHistory() |
NPrintStream |
getErr() |
InputStream |
getIn() |
NPrintStream |
getOut() |
boolean |
isAutoCompleteSupported() |
boolean |
isLastWasProgress() |
String |
readLine(NPrintStream out,
NMsg message) |
char[] |
readPassword(NPrintStream out,
NMsg message) |
Object |
run(NTerminalCmd command,
NPrintStream printStream) |
NSystemTerminalBase |
setCommandAutoCompleteResolver(NCmdLineAutoCompleteResolver autoCompleteResolver) |
DefaultNSystemTerminalBase |
setCommandHighlighter(String commandHighlighter) |
NSystemTerminalBase |
setCommandHistory(NCmdLineHistory history) |
void |
setLastWasProgress(boolean lastWasProgress) |
void |
setStyles(NTextStyles styles,
NPrintStream printStream) |
clearScreen, getTerminalCursor, getTerminalSize, resetLinepublic static final NDuration EXPIRY_30S
protected boolean lastWasProgress
public boolean isLastWasProgress()
isLastWasProgress in class NSystemTerminalBaseImplpublic void setLastWasProgress(boolean lastWasProgress)
setLastWasProgress in class NSystemTerminalBaseImplpublic String readLine(NPrintStream out, NMsg message)
public char[] readPassword(NPrintStream out, NMsg message)
public InputStream getIn()
public NPrintStream getOut()
public NPrintStream getErr()
public NCmdLineAutoCompleteResolver getAutoCompleteResolver()
public boolean isAutoCompleteSupported()
public NSystemTerminalBase setCommandAutoCompleteResolver(NCmdLineAutoCompleteResolver autoCompleteResolver)
public NCmdLineHistory getCommandHistory()
public NSystemTerminalBase setCommandHistory(NCmdLineHistory history)
public String getCommandHighlighter()
public DefaultNSystemTerminalBase setCommandHighlighter(String commandHighlighter)
public Object run(NTerminalCmd command, NPrintStream printStream)
public void setStyles(NTextStyles styles, NPrintStream printStream)
Copyright © 2026 vpc open source initiative. All rights reserved.