fix(cli): simplify Desktop picker controls [skip ci]

Remove numeric shortcuts and their labels so target selection has one visible navigation model: arrow keys followed by Enter. Keep Ctrl+C cancellation and attachment behavior unchanged.

Update the CLI guide and real-key regression tests to verify that 1 and 2 no longer move the highlight.
This commit is contained in:
Xubin Ren committed 2026-09-08 10:04:15 +08:00
1 parent cf74d1c7e5
commit d641026fc8
3 files changed
+4 -6

No files matched your search

-1
View File
@@ -191,7 +191,6 @@ def _choose_target(status: DesktopReply) -> Literal["desktop", "python"]:
),
],
default="desktop",
use_shortcuts=True,
instruction="(↑/↓ to move, Enter to confirm, Ctrl+C to cancel)",
).unsafe_ask()
except (EOFError, KeyboardInterrupt):