aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
m---------contrib/scinterm0
-rw-r--r--src/interface-curses/interface.c4
2 files changed, 3 insertions, 1 deletions
diff --git a/contrib/scinterm b/contrib/scinterm
-Subproject 9beb90cee008ee506bc6a581c050e87a04773f9
+Subproject 4132493fd18252a6f3a9dc963d8a388152cae9b
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