fix: /命令模式不派生候选

This commit is contained in:
amzxyz
2026-01-07 14:56:32 +08:00
parent e3db46beb2
commit 0a08cbed18

View File

@@ -455,7 +455,8 @@ function F.func(input, env)
if not has_valid_candidate then
-- 如果设置了拦截标志 (意味着刚刚从反查模式退出来),则即使有记忆也不派生!
if env.block_derivation then return end
if not has_letters(curr_input) then return end
if find(curr_input, "^[/]") then return end
if not has_letters(curr_input) then return end
local anchor = nil
local diff = ""