weasel icon indicating copy to clipboard operation
weasel copied to clipboard

Defining key binding to switch ascii_mode only change the input language, don't change the punctuation simultaneously

Open langshangyuan opened this issue 1 year ago • 0 comments

Under the default.custom.yaml file, I define a key bind: - { when: always, accept: Shift+space, toggle: ascii_mode }. I am happy to change the language with the key binding, while I found that the punctuation didn't change.

Then I define another key binding as - { when: always, accept: Control+period, toggle: ascii_punct }. I first change the punctuation after I change to the Chinese so that I can input the Chinese punctuation correctly. To my surprise, the following ascii_mode change works (means that it also can the punctuation without manual trigger the key binding to change the punctuation) well after once manual punctuation change.

This behavior is quite stranger.

langshangyuan avatar Apr 15 '23 11:04 langshangyuan