From 4899c0d8caef5d500b3df3fdce333b64b49995cb Mon Sep 17 00:00:00 2001 From: Christophe de Dinechin Date: Tue, 12 Nov 2024 01:19:53 +0100 Subject: [PATCH] ui: Fix incorrect selection of the interactive stack Moving code for the left key to a separate function caused the key to be considered "not handled" (`return false`) instead of "handled" (`return true`) when at end of line. Fixes: #1330 Signed-off-by: Christophe de Dinechin --- src/user_interface.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/user_interface.cc b/src/user_interface.cc index e9a1398e..d134a41d 100644 --- a/src/user_interface.cc +++ b/src/user_interface.cc @@ -5650,7 +5650,7 @@ bool user_interface::do_left() } beep(4000, 50); - return false; + return true; }