diff options
author | Andrew Resch <andrewresch@gmail.com> | 2010-01-04 00:18:53 +0000 |
---|---|---|
committer | Andrew Resch <andrewresch@gmail.com> | 2010-01-04 00:18:53 +0000 |
commit | 3870c25c9de1256f5735864cce1316491f9702b4 (patch) | |
tree | 081cc3f20909c4b8ffd4f43b2d19e3fc15dc81f6 | |
parent | 4cde35a067d8aa006971b9444a0360e6139f42d6 (diff) | |
download | deluge-3870c25c9de1256f5735864cce1316491f9702b4.tar.gz deluge-3870c25c9de1256f5735864cce1316491f9702b4.tar.bz2 deluge-3870c25c9de1256f5735864cce1316491f9702b4.zip |
Fix #1117 can't use the '3' key
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | deluge/ui/console/screen.py | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -15,6 +15,7 @@ ==== Console ==== * Fix #1115 not showing usage for the 'debug' command * Fix #1116 not being able to use command aliases when not connected to a daemon + * Fix #1117 can't use the '3' key ==== Windows ==== * Fix displaying folders in the add torrent dialog diff --git a/deluge/ui/console/screen.py b/deluge/ui/console/screen.py index c978ec841..d5fc2caf9 100644 --- a/deluge/ui/console/screen.py +++ b/deluge/ui/console/screen.py @@ -390,7 +390,7 @@ class Screen(CursesStdIO): self.input = self.input[:self.input_cursor - 1] + self.input[self.input_cursor:] self.input_cursor -= 1 - elif c == curses.KEY_DC or c == 51: + elif c == curses.KEY_DC: if self.input and self.input_cursor < len(self.input): self.input = self.input[:self.input_cursor] + self.input[self.input_cursor + 1:] |