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

开启辅码后实际未输入辅码导致冗余[的问题 #7

Open
Renkai opened this issue Jan 5, 2023 · 3 comments
Open

开启辅码后实际未输入辅码导致冗余[的问题 #7

Renkai opened this issue Jan 5, 2023 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@Renkai
Copy link

Renkai commented Jan 5, 2023

假设我想输入辅字, fu[
正想输入i的时候发现已经在第一候选了, 一激动, 就直接空格上屏
图片
然后缓冲区就会多出一个[
图片
我觉得这个 [ 这种情况下更适合和fu一起离开缓冲区

@Renkai
Copy link
Author

Renkai commented Jan 5, 2023

除了一激动的情况, 还有一种情况是, 我输入了 [, 但是没想到那个字的辅码到底是什么, 最后还是在候选词里翻页找到了, 也会这样

@functoreality functoreality added the help wanted Extra attention is needed label Jan 5, 2023
@functoreality
Copy link
Owner

这个目前没有想到什么可行的实现方式。不排除可以通过写一个 lua_processor 解决,不过我对这方面并不熟悉……

@ksqsf
Copy link

ksqsf commented Apr 15, 2024

应该可以在 algebra 里添加规则,让 fu[ 也成为「辅」字的编码?

- derive/^(..).+$/$1/  # 只有前两码(双拼)是编码
- derive/^(...).*$/$1/ # 前三码包括 [ 都算作编码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants