From 196af1b9524e0b1882984bd28d316cf175f34edc Mon Sep 17 00:00:00 2001 From: Luxferre Date: Sun, 21 Dec 2025 08:40:28 +0200 Subject: [PATCH] added empty message guard to the chat module --- deck/chat.py | 1 + 1 file changed, 1 insertion(+) diff --git a/deck/chat.py b/deck/chat.py index 4fea2f6..c97c771 100644 --- a/deck/chat.py +++ b/deck/chat.py @@ -61,6 +61,7 @@ class DeckChat: while True: try: input_msg = input(self.chat_prefix).strip() + if len(input_msg) == 0: continue cmd, msg = self._detect_command(input_msg) output, self.state = self.command_handlers[cmd](msg, self.state) if self.paginate_n > 0: