home · contact · privacy
In curses client remove quitting command used for debugging.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 8 Nov 2020 01:15:55 +0000 (02:15 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 8 Nov 2020 01:15:55 +0000 (02:15 +0100)
new2/rogue_chat_curses.py

index 94c808b44093723832c17a6b3c63e16bd201bc40..10444740821d74ab0ca68d49e8a75aaad019d014 100755 (executable)
@@ -584,9 +584,6 @@ class TUI:
                     self.send('TASK:FLATTEN_SURROUNDINGS')
                 elif key in self.movement_keys:
                     self.send('TASK:MOVE ' + self.movement_keys[key])
                     self.send('TASK:FLATTEN_SURROUNDINGS')
                 elif key in self.movement_keys:
                     self.send('TASK:MOVE ' + self.movement_keys[key])
-                elif key == 'q':
-                    self.log_msg('quitting')
-                    self.send('QUIT')
             elif self.mode == self.mode_edit:
                 self.send('TASK:WRITE ' + key)
                 self.switch_mode('play')
             elif self.mode == self.mode_edit:
                 self.send('TASK:WRITE ' + key)
                 self.switch_mode('play')