nano

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

commit ee1f8a049441ef72e2019329cd790e85b097754a
parent 2c5459a1b7cd20bfed1ea9b07fb85247552f1829
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 23 Aug 2022 15:31:02 +0200

prompt: return FALSE for non-editing functions also in the tiny version

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

Bug existed since commit 2f25b6a6 from four days ago.

Diffstat:
Msrc/prompt.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/prompt.c b/src/prompt.c @@ -325,9 +325,10 @@ bool handle_editing(functionptrtype function) else if (function == paste_text) { if (cutbuffer != NULL) paste_into_answer(); - } else - return FALSE; + } #endif + else + return FALSE; /* Don't handle any handled function again. */ return TRUE;