fix(mtext): keep arrows in editor

Route captured arrows to the MText caret only while the hidden command input retains focus.\n\nRefs #655
This commit is contained in:
Hakan Seven committed 2026-08-20 17:13:09 +03:00
commit 76ad642d0c
3 files changed
+22 -4

No files matched your search

+2 -2
View File
@@ -1972,9 +1972,9 @@ pub enum Message {
},
/// A widget captured Up/Down; resolve it only if the command input owns
/// keyboard focus.
CommandLineArrowProbe { direction: ArrowKey },
CommandLineArrowProbe { direction: ArrowKey, extend_selection: bool },
/// Result of the command-input focus query for a captured Up/Down key.
CommandLineArrowResolved { direction: ArrowKey, focused: bool },
CommandLineArrowResolved { direction: ArrowKey, focused: bool, extend_selection: bool },
/// Toggle the dropdown listing the full command-line history.
CommandHistoryToggle,
/// Grab/move/release the expanded history panel's top resize edge.