public class JlEditWindowsTerminal
extends jline.AnsiWindowsTerminal
| Constructor and Description |
|---|
JlEditWindowsTerminal(jline.AnsiWindowsTerminal delegate,
boolean preExists) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getDirectConsole()
Whether or not to allow the use of the JNI console interaction.
|
boolean |
hasWeirdWrap() |
boolean |
isAnsiSupported() |
void |
restore() |
void |
setDirectConsole(boolean flag)
Whether or not to allow the use of the JNI console interaction.
|
void |
setEchoEnabled(boolean enabled) |
InputStream |
wrapInIfNeeded(InputStream in) |
OutputStream |
wrapOutIfNeeded(OutputStream out)
Subclass to change behavior if needed.
|
public void restore()
throws Exception
restore in interface jline.Terminalrestore in class jline.WindowsTerminalExceptionpublic void setEchoEnabled(boolean enabled)
setEchoEnabled in interface jline.TerminalsetEchoEnabled in class jline.WindowsTerminalpublic void setDirectConsole(boolean flag)
setDirectConsole in class jline.WindowsTerminalpublic Boolean getDirectConsole()
getDirectConsole in class jline.WindowsTerminalpublic boolean isAnsiSupported()
isAnsiSupported in interface jline.TerminalisAnsiSupported in class jline.AnsiWindowsTerminalpublic boolean hasWeirdWrap()
hasWeirdWrap in interface jline.TerminalhasWeirdWrap in class jline.AnsiWindowsTerminalpublic OutputStream wrapOutIfNeeded(OutputStream out)
wrapOutIfNeeded in interface jline.TerminalwrapOutIfNeeded in class jline.AnsiWindowsTerminalpublic InputStream wrapInIfNeeded(InputStream in) throws IOException
wrapInIfNeeded in interface jline.TerminalwrapInIfNeeded in class jline.WindowsTerminalIOExceptionCopyright © 2013. All Rights Reserved.