#3409: Make deluge-console work on Windows for command line automation
----------------------------+----------------------------
Reporter: petersasi | Type: bug
Status: new | Priority: major
Milestone: needs verified | Component: Console UI
Version: 2.0.3 | Keywords: windows-curses
----------------------------+----------------------------
1. Python does not support and include ncurses on Windows.
2. Windows-Curses
https://pypi.org/project/windows-curses/ can be
installed with pip, which adds support for the standard Python curses
module on Windows. Uses the PDCurses curses implementation.
3. Without this patch however it bails out claiming the module 'signal'
has no attribute 'SIGWINCH'.
4. This patch passes on the AttributeError above.
5. This makes the below sample commands run and complete as intented:
deluge-console.exe status
deluge-console.exe info
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3409>
Deluge <https://deluge-torrent.org/>
Deluge Project