mirror of
https://github.com/d0zingcat/rime_wanxiang.git
synced 2026-05-13 15:10:03 +00:00
fix(lua): 修复小键盘数字在commit_text时导致PSReadLine的bug
This commit is contained in:
@@ -120,7 +120,7 @@ function P.func(key, env)
|
||||
if context.push_input then context:push_input(ch)
|
||||
else context.input = (context.input or "") .. ch end
|
||||
else
|
||||
env.engine:commit_text(ch)
|
||||
return wanxiang.RIME_PROCESS_RESULTS.kNoop
|
||||
end
|
||||
else -- compose
|
||||
if context.push_input then context:push_input(ch)
|
||||
|
||||
Reference in New Issue
Block a user