From 58a0f8def5742248bf235c7c9cd9d3efcb334751 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sun, 10 May 2026 00:15:52 +0200 Subject: support "default colors" * The terminal's default foreground and background colors are now used by default (`sciteco --no-profile`), so SciTECO integrates naturally into all terminal color schemes, even dark-on-bright ones. * The default Scintilla colors use only 0x000000 (COLOR_BLACK) and 0xC0C0C0 (COLOR_WHITE) now. * You can use `7EJ` to configure the default colors in color schemes or your profile. All existing color schemes had to disable default colors (`-1,-1,7EJ`) since they wouldn't look well otherwise. * You may add `-1,7EJ` to ~/.teco_ini when using a terminal emulator with a washed-out palettized COLOR_BLACK. We cannot detect the terminal's default colors automatically. * Scinterm updated to v6.0. We require a not-yet-upstreamed patch: https://github.com/orbitalquark/scinterm/pull/40 * In fact, we might decide not to support default colors at all in Scinterm, so this feature should be considered experimental. --- TODO | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 678121d..9846c07 100644 --- a/TODO +++ b/TODO @@ -804,17 +804,6 @@ Features: We'd have to handle an overlapping info popup, though. Should we deactivate the hardware cursor via curs_set(0) if it overlaps the popup? - * ncurses: Support default colors (use_default_colors()). - Instead of drawing a black background and white foreground - we could use pair number -1. - This means you don't suddenly become white-on-black on terminals - that use black-on-white by default. - On the other hand, not all color schemes might look good, - so this would have to be a setting (ED flag). - Also, Scinterm would have to support it as well. - This also appears to be responsible for the greyish background - on Haiku and GNOME Terminal: They don't have a true black as color 0 - even if the default terminal background is a true black. * Ctags support Perhaps can be Video TECO compatible. https://github.com/universal-ctags/ctags -- cgit v1.2.3