From c22d1ccc28b6e9ecc68f688e311abefedab7352f Mon Sep 17 00:00:00 2001 From: KENZ Date: Thu, 25 Dec 2025 22:59:39 +0900 Subject: [PATCH] fix: menu doesn't show by unfocusing when clicking outside of the terminal_box --- src/terminal_box.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/terminal_box.rs b/src/terminal_box.rs index 2de9e68..8138e0a 100644 --- a/src/terminal_box.rs +++ b/src/terminal_box.rs @@ -1380,6 +1380,8 @@ where } shell.capture_event(); } + } else { + state.is_focused = false; } } Event::Mouse(MouseEvent::ButtonReleased(Button::Left)) => {