fix(lua): 修复小键盘数字在commit_text时导致PSReadLine的bug

This commit is contained in:
MysticalMusings
2026-01-17 14:12:41 +08:00
committed by amzxyz
parent 875e2f5631
commit 2088f701e9

View File

@@ -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)