diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/interface-curses/interface.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/interface-curses/interface.c b/src/interface-curses/interface.c index a9f24dd..b365fb9 100644 --- a/src/interface-curses/interface.c +++ b/src/interface-curses/interface.c @@ -443,10 +443,12 @@ teco_interface_init(void) teco_cmdline_init(); /* * The default INDIC_STRIKE wouldn't be visible. - * FIXME: INDIC_PLAIN is not yet supported by Scinterm to get underlined text. + * Instead we use INDIC_STRAIGHTBOX, which will be rendered as underlined + * in the given foreground color. */ 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); /* * On all platforms except Curses/XTerm, it's |
