mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 00:18:39 +00:00
Fix #1117 can't use the '3' key
This commit is contained in:
parent
4cde35a067
commit
3870c25c9d
2 changed files with 2 additions and 1 deletions
|
@ -15,6 +15,7 @@
|
||||||
==== Console ====
|
==== Console ====
|
||||||
* Fix #1115 not showing usage for the 'debug' command
|
* 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 #1116 not being able to use command aliases when not connected to a daemon
|
||||||
|
* Fix #1117 can't use the '3' key
|
||||||
|
|
||||||
==== Windows ====
|
==== Windows ====
|
||||||
* Fix displaying folders in the add torrent dialog
|
* Fix displaying folders in the add torrent dialog
|
||||||
|
|
|
@ -390,7 +390,7 @@ class Screen(CursesStdIO):
|
||||||
self.input = self.input[:self.input_cursor - 1] + self.input[self.input_cursor:]
|
self.input = self.input[:self.input_cursor - 1] + self.input[self.input_cursor:]
|
||||||
self.input_cursor -= 1
|
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):
|
if self.input and self.input_cursor < len(self.input):
|
||||||
self.input = self.input[:self.input_cursor] + self.input[self.input_cursor + 1:]
|
self.input = self.input[:self.input_cursor] + self.input[self.input_cursor + 1:]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue