C# Class System.ConsolePal.TerminalFormatStrings

Provides format strings and related information for use with the current terminal.
Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Свойство Type Description
Background string
Bell string
Clear string
Columns int
CursorAddress string
CursorInvisible string
CursorLeft string
CursorVisible string
Foreground string
KeyFormatToConsoleKey ConsoleKeyInfo>.Dictionary
KeypadXmit string
Lines int
MaxColors int
MaxKeyFormatLength int
MinKeyFormatLength int
Reset string
Title string

Méthodes publiques

Méthode Description
TerminalFormatStrings ( TermInfo db ) : Microsoft.Win32.SafeHandles

Private Methods

Méthode Description
AddKey ( TermInfo db, TermInfo keyId, ConsoleKey key ) : void
AddKey ( TermInfo db, TermInfo keyId, ConsoleKey key, bool shift, bool alt, bool control ) : void
AddKey ( TermInfo db, string extendedName, ConsoleKey key, bool shift, bool alt, bool control ) : void
AddPrefixKey ( TermInfo db, string extendedNamePrefix, ConsoleKey key ) : void
GetTitle ( TermInfo db ) : string

Method Details

TerminalFormatStrings() public méthode

public TerminalFormatStrings ( TermInfo db ) : Microsoft.Win32.SafeHandles
db TermInfo
Résultat Microsoft.Win32.SafeHandles

Property Details

Background public_oe property

The format string to use to change the background color.
public string Background
Résultat string

Bell public_oe property

The format string to use for an audible bell.
public string Bell
Résultat string

Clear public_oe property

The format string to use to clear the terminal.
public string Clear
Résultat string

Columns public_oe property

The number of columns in a format.
public int Columns
Résultat int

CursorAddress public_oe property

The format string to use to set the position of the cursor.
public string CursorAddress
Résultat string

CursorInvisible public_oe property

The format string to use to make cursor invisible
public string CursorInvisible
Résultat string

CursorLeft public_oe property

The format string to use to move the cursor to the left.
public string CursorLeft
Résultat string

CursorVisible public_oe property

The format string to use to make cursor visible.
public string CursorVisible
Résultat string

Foreground public_oe property

The format string to use to change the foreground color.
public string Foreground
Résultat string

KeyFormatToConsoleKey public_oe property

The dictionary of keystring to ConsoleKeyInfo. Only some members of the ConsoleKeyInfo are used; in particular, the actual char is ignored.
public Dictionary KeyFormatToConsoleKey
Résultat ConsoleKeyInfo>.Dictionary

KeypadXmit public_oe property

The ANSI string used to enter "application" / "keypad transmit" mode.
public string KeypadXmit
Résultat string

Lines public_oe property

The number of lines in a format.
public int Lines
Résultat int

MaxColors public_oe property

The maximum number of colors supported by the terminal.
public int MaxColors
Résultat int

MaxKeyFormatLength public_oe property

Max key length
public int MaxKeyFormatLength
Résultat int

MinKeyFormatLength public_oe property

Min key length
public int MinKeyFormatLength
Résultat int

Reset public_oe property

The format string to use to reset the foreground and background colors.
public string Reset
Résultat string

Title public_oe property

The format string to use to set the window title.
public string Title
Résultat string