[neomutt-devel] [PATCH] Fix the highlighting of commandline
Elimar Riesebieter
riesebie at lxtec.de
Fri Sep 25 18:57:30 CEST 2020
"color sidebar_divider blue brightyellow" highlights the commandline
Adding mutt_curses_set_color(MT_COLOR_NORMAL); to sidebar/windows.c
This patch is generated as advised by Rich (@flatcap) in IRC.
Tested by: Elimar Riesebieter <riesebie at lxtec.de>
---
sidebar/window.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sidebar/window.c b/sidebar/window.c
index f991ab3714..fe06dfbd25 100644
--- a/sidebar/window.c
+++ b/sidebar/window.c
@@ -821,6 +821,7 @@ int sb_repaint(struct MuttWindow *win)
fill_empty_space(win, row, num_rows - row, wdata->divider_width,
num_cols - wdata->divider_width);
draw_divider(wdata, win, num_rows, num_cols);
+ mutt_curses_set_color(MT_COLOR_NORMAL);
return 0;
}
--
2.28.0
--
355/113: Not the famous irrational number pi,
but an incredible simulation!
-unknown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://mailman.neomutt.org/pipermail/neomutt-devel-neomutt.org/attachments/20200925/118dd064/attachment.sig>
More information about the neomutt-devel
mailing list