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

按 "ctrl-space" 关闭输入法时,会显示两个多余的字符 #77

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 8 comments

Comments

@GoogleCodeExporter
Copy link

系统:Ubuntu 10.04
安装及设置:
sudo add-apt-repository ppa:ucimf-dev/ppa
sudo apt-get install libucimf0 fbterm-ucimf ucimf-openvanilla 
openvanilla-imgeneric openvanilla-imgeneric-data-zh-cn fbterm
sudo setcap 'cap_sys_tty_config+ep' /usr/bin/fbterm
启动:
LC_CTYPE=zh_CN.UTF-8 fbterm -i fbterm_ucimf
问题:
可以正常输入中文,但每按一次 Ctrl + space,屏幕上都会出现 
"132" 这样的字符。
log 文件:见附件。

Original issue reported on code.google.com by [email protected] on 18 Sep 2010 at 6:53

Attachments:

@cjacker
Copy link

cjacker commented Apr 18, 2019

here is the patch, and I expained the root cause of this issue in comment:
https://github.com/cjacker/patches/blob/master/fbterm-ctrl-space-toggle-im-two-weird-char.patch

the implementation of toggleActive and setRawMode in fbterm is not so good, rewriting this two functions should be a better way to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants