summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGregorio Litenstein <g.litenstein@gmail.com>2024-05-31 19:20:24 +0200
committerCalum Lind <calumlind+deluge@gmail.com>2024-08-26 21:48:38 +0200
commit8867da94f825e116cff52aeddd9c163cf2023a17 (patch)
treeeff16282410c18489b9dc9b8ac7900f7aed46e5d
parent[Console] Improve interactive-mode preferences saving (diff)
downloaddeluge-8867da94f825e116cff52aeddd9c163cf2023a17.tar.xz
deluge-8867da94f825e116cff52aeddd9c163cf2023a17.zip
[Console] endwin() not needed when using wrapper
Using it anyway produces a crash because it returns an error if called two times without any intervening updates. Closes: https://github.com/deluge-torrent/deluge/pull/461
-rw-r--r--deluge/ui/console/modes/basemode.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/deluge/ui/console/modes/basemode.py b/deluge/ui/console/modes/basemode.py
index a8ab1dbd9..00b78fd0d 100644
--- a/deluge/ui/console/modes/basemode.py
+++ b/deluge/ui/console/modes/basemode.py
@@ -236,7 +236,6 @@ class BaseMode(CursesStdIO, component.Component):
curses.nocbreak()
self.stdscr.keypad(0)
curses.echo()
- curses.endwin()
def add_string(