Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac terminal 下 中英文切换 键绑定 Control+Shift+2 无效 #152

Closed
seudut opened this issue Apr 22, 2017 · 2 comments
Closed

mac terminal 下 中英文切换 键绑定 Control+Shift+2 无效 #152

seudut opened this issue Apr 22, 2017 · 2 comments

Comments

@seudut
Copy link

seudut commented Apr 22, 2017

在mac 下的 terminal,中英文设为 C+S+2 无效,设为 C+S+1, 3, 4, 5 都可以。

这是我的部分配置,Control+Shift+1, Control+Shift+5 可以工作正常,Control+Shift+2 无效

    # hotkey switch
    - { when: always, accept: Control+Shift+1, toggle: ascii_mode}
    - { when: always, accept: Control+Shift+2, toggle: ascii_mode}
    - { when: always, accept: Control+Shift+5, toggle: ascii_mode}

另外,C+S+6 也不行。这好像跟 toggle: ascii_mode 没有关系。C+S+2, C+S+6, 这两个组合键不管绑定到什么,在 terminal 下都无效。但是在其他的程序中(Notes) 是可以的。

@seudut
Copy link
Author

seudut commented Apr 22, 2017

我对比了一下 C+S+2, C+S+6 和 其它的组合键 C+S+1, 3, 4, 5, 7 的区别。

Pengs-MacBook-Pro:~ peng$ sed -n l
1^@345^^7890

C+S+2 的输出是 ^@, C+S+6^^,而其它的是对应的数字。 不知道和这个有没有关系。

@lotem
Copy link
Member

lotem commented Apr 23, 2017

Terminal.app 把他們解釋爲控制字符,所以輸入法拿不到所定義的快捷鍵。

@lotem lotem closed this as completed Apr 23, 2017
eagleoflqj pushed a commit to eagleoflqj/rime that referenced this issue Dec 31, 2023
* chore(rime_test): link with Windows DLL

* fix(rime_test): correct expected absolute path used in RimeResourceResolverTest.ResolvePath by prepending root name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants