Class TermReaderSettings
Settings for the reader
Inheritance
Namespace: Terminaux.Reader
Assembly: Terminaux.dll
Syntax
public class TermReaderSettings
Constructors
| Edit this page View SourceTermReaderSettings()
Initializes an empty reader settings instance
Declaration
public TermReaderSettings()
TermReaderSettings(TermReaderSettings)
Initializes a reader settings instance
Declaration
public TermReaderSettings(TermReaderSettings settings)
Parameters
Type | Name | Description |
---|---|---|
TermReaderSettings | settings | Settings to copy from |
Properties
| Edit this page View SourceBassBoomLibraryPath
Root path to BassBoom's library path
Declaration
public string BassBoomLibraryPath { get; set; }
Property Value
Type | Description |
---|---|
string |
Bell
Console bell type for invalid reader operation
Declaration
public ConsoleBell Bell { get; set; }
Property Value
Type | Description |
---|---|
ConsoleBell |
CueEnter
A stream for the submission key press keyboard cue
Declaration
public Stream CueEnter { get; set; }
Property Value
Type | Description |
---|---|
Stream |
CueRubout
A stream for the backspace key press keyboard cue
Declaration
public Stream CueRubout { get; set; }
Property Value
Type | Description |
---|---|
Stream |
CueVolume
Keyboard cue volume
Declaration
public double CueVolume { get; set; }
Property Value
Type | Description |
---|---|
double |
CueVolumeBoost
Whether to boost cue volume up to 3.0 or not
Declaration
public bool CueVolumeBoost { get; set; }
Property Value
Type | Description |
---|---|
bool |
CueWrite
A stream for the key press keyboard cue
Declaration
public Stream CueWrite { get; set; }
Property Value
Type | Description |
---|---|
Stream |
DefaultValueFormat
Default value format when showing it is enabled
Declaration
public string DefaultValueFormat { get; set; }
Property Value
Type | Description |
---|---|
string |
HistoryEnabled
Input history enabled
Declaration
public bool HistoryEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
HistoryName
Input history name
Declaration
public string HistoryName { get; set; }
Property Value
Type | Description |
---|---|
string |
InitialPosition
Initial position of the reader. This is applied only when the default value is supplied and WriteDefaultValue is on.
Declaration
public int InitialPosition { get; set; }
Property Value
Type | Description |
---|---|
int |
InputBackgroundColor
Input background color
Declaration
public Color InputBackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
InputForegroundColor
Input foreground color
Declaration
public Color InputForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
InputPlaceholderForegroundColor
Input placeholder foreground color
Declaration
public Color InputPlaceholderForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
InputPromptForegroundColor
Input prompt foreground color
Declaration
public Color InputPromptForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
KeyboardCues
Play keyboard cues for each keypress
Declaration
public bool KeyboardCues { get; set; }
Property Value
Type | Description |
---|---|
bool |
LeftMargin
Left margin
Declaration
public int LeftMargin { get; set; }
Property Value
Type | Description |
---|---|
int |
PasswordMaskChar
Password mask character
Declaration
public char PasswordMaskChar { get; set; }
Property Value
Type | Description |
---|---|
char |
PlaceholderText
Show placeholder hint text
Declaration
public string PlaceholderText { get; set; }
Property Value
Type | Description |
---|---|
string |
PlayEnterCue
Play keyboard cues for pressing Enter
Declaration
public bool PlayEnterCue { get; set; }
Property Value
Type | Description |
---|---|
bool |
PlayRuboutCue
Play keyboard cues for pressing Backspace
Declaration
public bool PlayRuboutCue { get; set; }
Property Value
Type | Description |
---|---|
bool |
PlayWriteCue
Play keyboard cues for character insertion and other actions
Declaration
public bool PlayWriteCue { get; set; }
Property Value
Type | Description |
---|---|
bool |
PrintDefaultValue
Prints the default value. Conflicts with WriteDefaultValue
Declaration
public bool PrintDefaultValue { get; set; }
Property Value
Type | Description |
---|---|
bool |
RightMargin
Right margin
Declaration
public int RightMargin { get; set; }
Property Value
Type | Description |
---|---|
int |
Suggestions
Suggestion entries
Declaration
public Func<string, int, char[], string[]> Suggestions { set; }
Property Value
Type | Description |
---|---|
Func<string, int, char[], string[]> |
SuggestionsDelimiters
Suggestion delimiters
Declaration
public char[] SuggestionsDelimiters { set; }
Property Value
Type | Description |
---|---|
char[] |
SyntaxHighlighter
Syntax highlighter to use. It must be registered.
Declaration
public SyntaxHighlighting? SyntaxHighlighter { get; set; }
Property Value
Type | Description |
---|---|
SyntaxHighlighting |
SyntaxHighlighterEnabled
Syntax highlighter is enabled
Declaration
public bool SyntaxHighlighterEnabled { get; set; }
Property Value
Type | Description |
---|---|
bool |
TreatCtrlCAsInput
Treat Ctrl + C as input
Declaration
public bool TreatCtrlCAsInput { get; set; }
Property Value
Type | Description |
---|---|
bool |
WriteDefaultValue
Writes the default value to the actual input. Conflicts with PrintDefaultValue
Declaration
public bool WriteDefaultValue { get; set; }
Property Value
Type | Description |
---|---|
bool |