Skip to content

Commit

Permalink
ui: Fix incorrect selection of the interactive stack
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
c3d committed Nov 12, 2024
1 parent 66ddeb5 commit 4899c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user_interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5650,7 +5650,7 @@ bool user_interface::do_left()
}

beep(4000, 50);
return false;
return true;
}


Expand Down

0 comments on commit 4899c0d

Please sign in to comment.