From 0e48718a9208048d0494d531e2094f3a3e3d171d Mon Sep 17 00:00:00 2001 From: Hojjat Date: Mon, 23 Mar 2026 21:59:34 -0600 Subject: [PATCH] fix: focus the main textbox when clicked --- src/main.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.rs b/src/main.rs index 7f368bb..873f8dd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2052,6 +2052,9 @@ impl Application for App { has_focus, }; } + if !has_focus { + return self.update_focus(); + } } Message::GitProjectStatus(project_status) => { self.git_project_status = Some(project_status);