nano

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

commit 256a0d670ef59ce1d11988375a93f8ac5228f8bf
parent 50106266bc6fa83c2d141e3f7b44d62df2adc84c
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Fri, 29 Oct 2021 09:35:38 +0200

replacing: keep centering the occurrence, also after toggling help lines

Normally, returning to the main loop will set 'focusing' back to TRUE,
but the replacement loop doesn't return until replacing is finished.

This fixes https://savannah.gnu.org/bugs/?61397.

Bug existed since version 5.0, commit d8249917.

Diffstat:
Msrc/prompt.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/prompt.c b/src/prompt.c @@ -771,6 +771,7 @@ int do_yesno_prompt(bool all, const char *msg) titlebar(NULL); focusing = FALSE; edit_refresh(); + focusing = TRUE; } #endif else