From 282fa65c0d547c89eac6cd4c7e91496a280bece7 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 26 Apr 2026 02:00:18 +0200 Subject: Curses: support arbitrary RGB colors * Instead of supporting only 16 predefined RGB placeholder values in Scintilla messages and styles, you can now use arbitrary RGB values and colors are allocated via the terminal on the fly. You no longer need to call 3EJ to change the default color palette. * The placeholder RGB values are still available. Since you will usually want exact RGB values when using anything outside of the range of 16 default colors and the RGB placeholders will not always exactly correspond to their RGB value, you can now call `0,3EJ` to ignore the default palette and allocate all colors dynamically. * Allows for more than 16 colors on the screen simultaneously. Also simplifies the solarized.tes color scheme. Since both Scinterm and SciTECO try not to touch the 16 default colors, you also no longer have to deal with restoring the palette after program termination (which was never reliable anyway). * Color schemes with non-default colors (solarized.tes) may now be broken on TERM=linux-16color (Linux VT) since Scinterm will get only 8 colors, but solarized.tes needs 16. --- contrib/scinterm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/scinterm b/contrib/scinterm index 5499991..274656a 160000 --- a/contrib/scinterm +++ b/contrib/scinterm @@ -1 +1 @@ -Subproject commit 5499991f775d5fdd9d5558ef339788b66e997129 +Subproject commit 274656ad8fd7478ff7ed7fc4e04eedb7863b2f9c -- cgit v1.2.3