applyColorScheme

abstract fun applyColorScheme(ansiColors: IntArray, defaultForeground: Int, defaultBackground: Int)(source)

Apply a complete color scheme to the terminal.

Convenience method that sets both ANSI palette and default colors from a color scheme. This is the recommended way to apply themes.

Parameters

ansiColors

IntArray of 16 ARGB colors for ANSI palette

defaultForeground

ARGB color for default foreground

defaultBackground

ARGB color for default background