在iTerm2内使用ctrl类的控制序列,会导致Rime切换输入状态
Open
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 6.4k
- Forks
- 554
- PR merge metrics
- No merged PRs in 30d
Description
其他终端就没这个毛病,应该主要是iTerm2的问题。
在ascii_composer/switch_key设置上左Ctrl键为切换的时候,在iTerm2内按Ctrl+E、Ctrl+A或者其他的Ctrl控制序列,会在结束的时候让Rime的输入状态变动。
而且如果在按这些快捷键的时候,把Ctrl键按得时间长一些再松开,就不会让输入状态切换
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in iTerm2 with ascii_composer/switch_key configured to use Left Control as the switch key, then compare Ctrl+E or Ctrl+A with other terminals. Trace how Control key release and terminal control sequences affect Rime's input state; done means these sequences no longer toggle the state while normal switching still works.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, swift
- Domain
- desktop, internationalization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100