public final class TerminalLineSettings extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SH |
static String |
DEFAULT_STTY |
static String |
JLINE_SH |
static String |
JLINE_STTY |
Constructor and Description |
---|
TerminalLineSettings() |
Modifier and Type | Method and Description |
---|---|
String |
get(String args) |
String |
getConfig() |
int |
getProperty(String name)
Get the value of a stty property, including the management of a cache.
|
protected static int |
getProperty(String name,
String stty)
Parses a stty output (provided by stty -a) and return the value of a given property.
|
void |
restore() |
void |
set(String args) |
public static final String JLINE_STTY
public static final String DEFAULT_STTY
public static final String JLINE_SH
public static final String DEFAULT_SH
public TerminalLineSettings() throws IOException, InterruptedException
IOException
InterruptedException
public String getConfig()
public void restore() throws IOException, InterruptedException
IOException
InterruptedException
public String get(String args) throws IOException, InterruptedException
IOException
InterruptedException
public void set(String args) throws IOException, InterruptedException
IOException
InterruptedException
public int getProperty(String name)
Get the value of a stty property, including the management of a cache.
name
- the stty property.Copyright © 2013. All Rights Reserved.