aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2025-12-28 13:03:16 +0100
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2025-12-28 20:57:31 +0100
commitd94521fb5b5a5c3a6315c425dba5f1218f0dd323 (patch)
treed82e1194ee1abb04c5eaf8f1c23a80f2849193b8 /src
parentc2114fa0af73b42bc1ef302f7511ef87690cc0b1 (diff)
Curses: use INDIC_SQUIGGLE to render rubbed-out command lines
* This is still rendered as underlined text. * It uses a new Scinterm upstream feature, so we can switch back to the upstream repo.
Diffstat (limited to 'src')
-rw-r--r--src/interface-curses/interface.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/interface-curses/interface.c b/src/interface-curses/interface.c
index 833b564..93a5bd5 100644
--- a/src/interface-curses/interface.c
+++ b/src/interface-curses/interface.c
@@ -439,11 +439,9 @@ 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 if
- * the alpha is 0.
+ * Instead we use INDIC_SQUIGGLE, which is rendered as A_UNDERLINE.
*/
- teco_cmdline_ssm(SCI_INDICSETSTYLE, INDICATOR_RUBBEDOUT, INDIC_STRAIGHTBOX);
- teco_cmdline_ssm(SCI_INDICSETALPHA, INDICATOR_RUBBEDOUT, 0);
+ teco_cmdline_ssm(SCI_INDICSETSTYLE, INDICATOR_RUBBEDOUT, INDIC_SQUIGGLE);
/*
* On all platforms except Curses/XTerm, it's