Search Results for

    Show / Hide Table of Contents

    Class TermReaderState

    State of the reader

    Inheritance
    object
    TermReaderState
    Namespace: Terminaux.Reader
    Assembly: Terminaux.dll
    Syntax
    public class TermReaderState

    Properties

    | Edit this page View Source

    ArgumentNumber

    Argument number to utilize

    Declaration
    public int ArgumentNumber { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    CanInsert

    Can insert a new character?

    Declaration
    public bool CanInsert { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Commentized

    Whether the current input character is commentized by the hashtag (#) character or not.

    Declaration
    public bool Commentized { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Concealing

    Whether the input is concealed right now

    Declaration
    public bool Concealing { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    CurrentCursorPosLeft

    Current cursor left position

    Declaration
    public int CurrentCursorPosLeft { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    CurrentCursorPosTop

    Current cursor top position

    Declaration
    public int CurrentCursorPosTop { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    CurrentHistoryPos

    Current history number

    Declaration
    public int CurrentHistoryPos { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    CurrentState

    Gets the current state

    Declaration
    public static TermReaderState? CurrentState { get; }
    Property Value
    Type Description
    TermReaderState
    | Edit this page View Source

    CurrentSuggestionsPos

    Current suggestion number

    Declaration
    public int CurrentSuggestionsPos { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    CurrentSuggestionsTextPos

    Current suggestions text position

    Declaration
    public int CurrentSuggestionsTextPos { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    CurrentText

    Current text

    Declaration
    public StringBuilder CurrentText { get; }
    Property Value
    Type Description
    StringBuilder
    | Edit this page View Source

    CurrentTextPos

    Current text character number

    Declaration
    public int CurrentTextPos { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    History

    History entries

    Declaration
    public string[] History { get; }
    Property Value
    Type Description
    string[]
    | Edit this page View Source

    InputPromptHeight

    Input prompt text

    Declaration
    public int InputPromptHeight { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    InputPromptLastLine

    Input prompt last line

    Declaration
    public string InputPromptLastLine { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    InputPromptLastLineLength

    Input prompt last line length

    Declaration
    public int InputPromptLastLineLength { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    InputPromptLeft

    Left position of the input prompt (with the left margin)

    Declaration
    public int InputPromptLeft { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    InputPromptLeftBegin

    Left position of the input prompt (where the first letter of the input prompt is located)

    Declaration
    public int InputPromptLeftBegin { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    InputPromptText

    Input prompt text

    Declaration
    public string InputPromptText { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    InputPromptTop

    Top position of the input prompt

    Declaration
    public int InputPromptTop { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    InputPromptTopBegin

    Top position of the input prompt (where the first letter of the input prompt is located)

    Declaration
    public int InputPromptTopBegin { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    KillBuffer

    Text to be pasted

    Declaration
    public StringBuilder KillBuffer { get; }
    Property Value
    Type Description
    StringBuilder
    | Edit this page View Source

    LeftMargin

    Left margin

    Declaration
    public int LeftMargin { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    LongestSentenceLengthFromLeft

    Longest sentence length (from the leftmost position, without offset created by the last line in the prompt)

    Declaration
    public int LongestSentenceLengthFromLeft { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    LongestSentenceLengthFromLeftForFirstLine

    Longest sentence length (from the leftmost position, with the length of the last line in the prompt plus the left margin)

    Declaration
    public int LongestSentenceLengthFromLeftForFirstLine { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    LongestSentenceLengthFromLeftForGeneralLine

    Longest sentence length (from the leftmost position, with the left margin)

    Declaration
    public int LongestSentenceLengthFromLeftForGeneralLine { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    MaximumInputPositionLeft

    Maximum input left position

    Declaration
    public int MaximumInputPositionLeft { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    OneLineWrap

    Whether one line wrapping is enabled

    Declaration
    public bool OneLineWrap { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    OperationWasInvalid

    Whether an invalid key was pressed, or an invalid operation was performed, or not.

    Declaration
    public bool OperationWasInvalid { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    PasswordMode

    Password Mode

    Declaration
    public bool PasswordMode { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    PressedKey

    Currently pressed key

    Declaration
    public ConsoleKeyInfo PressedKey { get; }
    Property Value
    Type Description
    ConsoleKeyInfo
    | Edit this page View Source

    RefreshRequired

    Whether the refresh is required

    Declaration
    public bool RefreshRequired { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    RightMargin

    Right margin

    Declaration
    public int RightMargin { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    Settings

    Reader settings (general or overridden)

    Declaration
    public TermReaderSettings Settings { get; }
    Property Value
    Type Description
    TermReaderSettings
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX