nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 881106c4879a403e37c3361a231cfa24f8184e7c
parent 2a44cb2ed8eef27da6219aa93fa1030c357946e3
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Mon,  1 Jun 2020 20:28:07 +0200

tweaks: drop two unneeded wnoutrefresh() calls in the spotlight routines

The call will be made at the end of edit_refresh() or in the main loop.

Diffstat:
Msrc/winio.c | 4----
1 file changed, 0 insertions(+), 4 deletions(-)

diff --git a/src/winio.c b/src/winio.c @@ -3425,8 +3425,6 @@ void spotlight(size_t from_col, size_t to_col) wattroff(edit, interface_color_pair[SELECTED_TEXT]); free(word); - - wnoutrefresh(edit); } #ifndef NANO_TINY @@ -3475,8 +3473,6 @@ void spotlight_softwrapped(size_t from_col, size_t to_col) leftedge = break_col; from_col = break_col; } - - wnoutrefresh(edit); } #endif