pitfall #18: Escape in search flow breaks rendering -> transparent shell -> session killed by self-heal; remove Escape from search path

This commit is contained in:
kenyanghui
2026-09-29 10:07:37 +08:00
parent d5850ce18a
commit 336fb1d241
2 changed files with 14 additions and 1 deletions
+2 -1
View File
@@ -225,7 +225,8 @@ def header_matches(header, name):
def open_chat_via_search(name):
c = CFG["coords"]
press("Escape", 0.3) # 关掉可能残留的下拉
# 注意:此处绝不能按 Escape——实测按 Esc 会打断搜索交互并让渲染崩成透明壳,
# 进而被自愈逻辑误判死亡而重启进程,毁掉登录会话(坑#18)。
click(*c["search_box"])
press("ctrl+a", 0.2)
paste(name)