From dd70e8139cbd6ecc0abffb7d893a83ea56e405ef Mon Sep 17 00:00:00 2001 From: jeffser Date: Wed, 7 Aug 2024 21:21:26 -0600 Subject: [PATCH] Give textview focus at launch --- src/window.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/window.py b/src/window.py index 36785eb..3081283 100644 --- a/src/window.py +++ b/src/window.py @@ -1782,6 +1782,7 @@ Generate a title following these rules: self.remote_connection_entry.connect("entry-activated", lambda entry : entry.set_css_classes([])) self.remote_connection_switch.connect("notify", lambda pspec, user_data : self.connection_switched()) self.background_switch.connect("notify", lambda pspec, user_data : self.switch_run_on_background()) + self.set_focus(self.message_text_view) if os.path.exists(os.path.join(self.config_dir, "server.json")): with open(os.path.join(self.config_dir, "server.json"), "r", encoding="utf-8") as f: data = json.load(f)