After changing the input method, mode is set to default
- Dominant language
- C
- Stars
- 8.1k
- Forks
- 241
- PR merge metrics
- No merged PRs in 30d
Description
Hi, there!
I'm troubling with use `skhd` with self-defined mode when I change the input method.
Simply, my `skhdrc` is as below.
```
:: default
:: foo
cmd -x ; foo
foo < cmd -x ; default
default < ctrl - t : echo "in default-mode"
foo < ctrl - t : echo "in foo-mode"
```
In my mac, the bind for changing the input method is
`cmd` + `space` via mac's system preferences.
In foo-mode, when I change the input method, the the mode is set to default.
Is there a way to keep foo-mode while I change the input method?
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the behavior using the shown skhdrc configuration, switching from default to foo mode and then changing the input method with macOS's cmd-space shortcut. Trace how mode state is handled during that input-method change; done means foo-mode remains active and its ctrl-t binding still runs afterward.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, macos
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100