From 97375f1a7cf5dbf111a065b41ef112b704227873 Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Mon, 4 Jan 2010 00:18:53 +0000 Subject: [PATCH] Fix #1117 can't use the '3' key --- deluge/ui/console/screen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/console/screen.py b/deluge/ui/console/screen.py index aa13cdeba..f53ceac4e 100644 --- a/deluge/ui/console/screen.py +++ b/deluge/ui/console/screen.py @@ -391,7 +391,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:]