rime / rime/squirrel

在iTerm2内使用ctrl类的控制序列,会导致Rime切换输入状态

Open
#465 1 comment 1 reaction 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.