Cycle input methods back with Super+Shift+I
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
3aa498a6d7
commit
d579157881
9 files changed
+53
-27
No files matched your search
@@ -7,9 +7,9 @@ Singleton {
|
||||
id: root
|
||||
property var state: ({})
|
||||
|
||||
function cycle() {
|
||||
function cycle(back) {
|
||||
if (!watcher.running) return false
|
||||
watcher.write("cycle\n")
|
||||
watcher.write(back ? "cycle back\n" : "cycle\n")
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1781,8 +1781,8 @@ ShellRoot {
|
||||
|
||||
// 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 cycleInput(direction: string): string {
|
||||
return Commons.InputMethodState.cycle(direction === "back") ? "ok" : "not running"
|
||||
}
|
||||
|
||||
function rescanPlugins(): void {
|
||||
|
||||
Reference in new issue
Block a user