Route Super+I through the shell's input reader so unfocused choices stick

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David Heinemeier HanssonandClaude Opus 5.5 committed 2026-10-10 23:13:38 +09:00
1 parent 1371ea7b5d
commit a494f21ab9
6 files changed
+53 -5

No files matched your search

+3 -1
View File
@@ -8,7 +8,9 @@ Singleton {
property var state: ({})
function cycle() {
if (watcher.running) watcher.write("cycle\n")
if (!watcher.running) return false
watcher.write("cycle\n")
return true
}
// One reader and pending selection for every monitor's keyboard widget.
+6
View File
@@ -1779,6 +1779,12 @@ ShellRoot {
return "ok"
}
// Super+I goes through the bar's reader, which keeps a choice made before
// any text field has focus until one does.
function cycleInput(): string {
return Commons.InputMethodState.cycle() ? "ok" : "not running"
}
function rescanPlugins(): void {
shell.reloadPlugins()
}