From 4e25b93a07cb28f44d8184227390f1bb02aad21b Mon Sep 17 00:00:00 2001 From: rsashank Date: Tue, 19 Dec 2023 07:52:57 +0530 Subject: [PATCH] core/boxes: Improve handling of pressing Esc during message compose. Fixes #1342. --- zulipterminal/ui_tools/boxes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zulipterminal/ui_tools/boxes.py b/zulipterminal/ui_tools/boxes.py index f1f4f3f555..a52a62fb8a 100644 --- a/zulipterminal/ui_tools/boxes.py +++ b/zulipterminal/ui_tools/boxes.py @@ -807,7 +807,7 @@ def keypress(self, size: urwid_Size, key: str) -> Optional[str]: ) elif is_command_key("GO_BACK", key): self.send_stop_typing_status() - confirmation_msg_length = 10 + confirmation_msg_length = 15 if len(self.msg_write_box.edit_text) > confirmation_msg_length: self.view.controller.exit_compose_confirmation_popup() else: