From e4267ec953942e92a11d6e86dd82a1c52c2ae471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=A6=E5=87=8C=E6=B1=90?= Date: Fri, 20 Dec 2024 18:28:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BA=86=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E8=BF=9B=E5=85=A5=E7=BC=96=E8=BE=91=E6=A8=A1=E5=BC=8F=E7=9A=84?= =?UTF-8?q?bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index a025122..daf0aa3 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -50,6 +50,8 @@ int main(int argc, char* argv[]) { mainEditor.setRuleName(getRuleByFileName(argv[1])); mainEditor.setContent(content, true); + mainEditor.setFocus(false); + mainEditor.draw(); infoBar.draw();