#nullable enable namespace Terminal.Gui; /// Terminal Cursor Visibility settings. /// /// Hex value are set as 0xAABBCCDD where : AA stand for the TERMINFO DECSUSR parameter value to be used under /// Linux and MacOS BB stand for the NCurses curs_set parameter value to be used under Linux and MacOS CC stand for the /// CONSOLE_CURSOR_INFO.bVisible parameter value to be used under Windows DD stand for the CONSOLE_CURSOR_INFO.dwSize /// parameter value to be used under Windows /// public enum CursorVisibility { /// Cursor caret has default /// /// Works under Xterm-like terminal otherwise this is equivalent to . This default directly /// depends on the XTerm user configuration settings, so it could be Block, I-Beam, Underline with possible blinking. /// Default = 0x00010119, /// Cursor caret is hidden Invisible = 0x03000019, /// Cursor caret is normally shown as a blinking underline bar _ Underline = 0x03010119, /// Cursor caret is normally shown as a underline bar _ /// Under Windows, this is equivalent to UnderlineFix = 0x04010119, /// Cursor caret is displayed a blinking vertical bar | /// Works under Xterm-like terminal otherwise this is equivalent to Vertical = 0x05010119, /// Cursor caret is displayed a blinking vertical bar | /// Works under Xterm-like terminal otherwise this is equivalent to VerticalFix = 0x06010119, /// Cursor caret is displayed as a blinking block ▉ Box = 0x01020164, /// Cursor caret is displayed a block ▉ /// Works under Xterm-like terminal otherwise this is equivalent to BoxFix = 0x02020164 }