Skip to content

Commit

Permalink
[Console] Block interactive-mode on Windows even with curses
Browse files Browse the repository at this point in the history
Hangs after initial opening, so still needs looking into.
  • Loading branch information
mhertz committed Aug 16, 2024
1 parent 7660e2e commit c703ef6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion deluge/ui/console/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def start_ui(self):
except ImportError:
wrapper = None

if deluge.common.windows_check() and not wrapper:
if deluge.common.windows_check():
print(
"""\nDeluge-console does not run in interactive mode on Windows. \n
Please use commands from the command line, e.g.:\n
Expand All @@ -148,6 +148,7 @@ def start_ui(self):
deluge-console.exe "add -p c:\\mytorrents c:\\new.torrent"
"""
)
return

# We don't ever want log output to terminal when running in
# interactive mode, so insert a dummy here
Expand Down

0 comments on commit c703ef6

Please sign in to comment.