projects
/
platform
/
upstream
/
ibus-hangul.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8eb0a1
)
flush Hangul ic when non ascii key.
author
Huang Peng
<shawn.p.huang@gmail.com>
Fri, 29 Aug 2008 13:10:35 +0000
(21:10 +0800)
committer
Huang Peng
<shawn.p.huang@gmail.com>
Fri, 29 Aug 2008 13:10:35 +0000
(21:10 +0800)
engine/engine.py
patch
|
blob
|
history
diff --git
a/engine/engine.py
b/engine/engine.py
index
91b696d
..
0986c83
100644
(file)
--- a/
engine/engine.py
+++ b/
engine/engine.py
@@
-88,6
+88,10
@@
class Engine(ibus.EngineBase):
if self.__context.backspace():
self.__update()
return True
+ else:
+ text = self.__context.flush()
+ self.hide_preedit()
+ self.commit_string(text)
return False
return False