diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-11 23:15:52 +0100 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-11-12 01:05:52 +0100 |
| commit | 5f4fff14a3d3a87d68bd5b96405c64503d07c375 (patch) | |
| tree | f20c8d0e0ef51916bf6f67997ba876024ccbed7c /src | |
| parent | 6e006ee0e2d0beedd310218cab1d70cfc71ab154 (diff) | |
Curses: the default rubbed out command line color is COLOR_WHITE now
0x404040 (COLOR_LBLACK) is a poor choice since on terminal emulators
with less than 16 colors, it would be rendered in black (and thus be invisible).
Diffstat (limited to 'src')
| -rw-r--r-- | src/interface-curses/interface.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/interface-curses/interface.c b/src/interface-curses/interface.c index b365fb9..a57b19c 100644 --- a/src/interface-curses/interface.c +++ b/src/interface-curses/interface.c @@ -443,11 +443,10 @@ teco_interface_init(void) teco_cmdline_init(); /* * The default INDIC_STRIKE wouldn't be visible. - * Instead we use INDIC_STRAIGHTBOX, which will be rendered as underlined - * in the given foreground color. + * Instead we use INDIC_STRAIGHTBOX, which will be rendered as underlined if + * the alpha is 0. */ teco_cmdline_ssm(SCI_INDICSETSTYLE, INDICATOR_RUBBEDOUT, INDIC_STRAIGHTBOX); - teco_cmdline_ssm(SCI_INDICSETFORE, INDICATOR_RUBBEDOUT, 0x404040); teco_cmdline_ssm(SCI_INDICSETALPHA, INDICATOR_RUBBEDOUT, 0); /* |
