setDefaultColors

abstract fun setDefaultColors(foreground: Int, background: Int): Int(source)

Set default terminal colors.

These colors are used when terminal content explicitly requests "default" foreground or background (different from ANSI color 7/0). Changing default colors triggers a full redraw.

Return

0 on success, -1 on error

Parameters

foreground

ARGB foreground color

background

ARGB background color