C# Класс System.ConsolePal.TerminalFormatStrings

Provides format strings and related information for use with the current terminal.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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

Открытые методы

Метод Описание
TerminalFormatStrings ( TermInfo db ) : Microsoft.Win32.SafeHandles

Приватные методы

Метод Описание
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

Описание методов

TerminalFormatStrings() публичный метод

public TerminalFormatStrings ( TermInfo db ) : Microsoft.Win32.SafeHandles
db TermInfo
Результат Microsoft.Win32.SafeHandles

Описание свойств

Background публичное свойство

The format string to use to change the background color.
public string Background
Результат string

Bell публичное свойство

The format string to use for an audible bell.
public string Bell
Результат string

Clear публичное свойство

The format string to use to clear the terminal.
public string Clear
Результат string

Columns публичное свойство

The number of columns in a format.
public int Columns
Результат int

CursorAddress публичное свойство

The format string to use to set the position of the cursor.
public string CursorAddress
Результат string

CursorInvisible публичное свойство

The format string to use to make cursor invisible
public string CursorInvisible
Результат string

CursorLeft публичное свойство

The format string to use to move the cursor to the left.
public string CursorLeft
Результат string

CursorVisible публичное свойство

The format string to use to make cursor visible.
public string CursorVisible
Результат string

Foreground публичное свойство

The format string to use to change the foreground color.
public string Foreground
Результат string

KeyFormatToConsoleKey публичное свойство

The dictionary of keystring to ConsoleKeyInfo. Only some members of the ConsoleKeyInfo are used; in particular, the actual char is ignored.
public Dictionary KeyFormatToConsoleKey
Результат ConsoleKeyInfo>.Dictionary

KeypadXmit публичное свойство

The ANSI string used to enter "application" / "keypad transmit" mode.
public string KeypadXmit
Результат string

Lines публичное свойство

The number of lines in a format.
public int Lines
Результат int

MaxColors публичное свойство

The maximum number of colors supported by the terminal.
public int MaxColors
Результат int

MaxKeyFormatLength публичное свойство

Max key length
public int MaxKeyFormatLength
Результат int

MinKeyFormatLength публичное свойство

Min key length
public int MinKeyFormatLength
Результат int

Reset публичное свойство

The format string to use to reset the foreground and background colors.
public string Reset
Результат string

Title публичное свойство

The format string to use to set the window title.
public string Title
Результат string