From 7bcbb4c5b9393e5bbb6afa411f9c8b082e87d783 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 18 Mar 2021 20:37:08 +0800 Subject: [PATCH] =?UTF-8?q?cmd=E4=B8=8D=E7=94=A8=E8=80=83=E8=99=91?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E7=84=A6=E7=82=B9=E9=97=AE=E9=A2=98=E4=BA=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/app_cmd.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/parts/scenes/app_cmd.lua b/parts/scenes/app_cmd.lua index 4f93008a..8572bb85 100644 --- a/parts/scenes/app_cmd.lua +++ b/parts/scenes/app_cmd.lua @@ -653,9 +653,8 @@ function scene.keyDown(k) end elseif combKey[k]and kb.isDown("lctrl","rctrl")then combKey[k]() - elseif k=="escape"then - WIDGET.sel=inputBox else + if WIDGET.sel~=inputBox then WIDGET.sel=inputBox end WIDGET.keyPressed(k) end end