Creates a palette with standard ANSI colors in the first 16 entries and xterm colors in the higher 240 entries.
Useful for specifying custom colors above 256 system colors.
Namespace:
Rebex.TerminalEmulation
Assembly:
Rebex.Terminal (in Rebex.Terminal.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ paletteSize As Integer _ ) |
C# |
---|
public TerminalPalette( int paletteSize ) |
Parameters
- paletteSize
- Type: System..::..Int32
Size of the palette (must be at least 256).