pip.exe install windows-curses
to the build process non-interactive command line commands complete successfully.
With the attached patch applied deluge-console.exe no longer bails out with the message: "Deluge-console does not run in interactive mode on Windows.".
Instead we just log a debug message and carry on. Now the interactive UI starts, brings up a connection selection window. But does not accept any input.
The log is full of a twisted/internet/selectreactor.py error for win32select: "builtins.OSError: 10038 An operation was attempted on something that is not a socket".
Same twisted error does not show on the logs running the daemon and the GTK3 thin-client on Windows.
I am stuck here, will have to ask for the help of a developer who understands how this twister works with the GTK3 UI on windows but not the curses one - what is different?
Python does not support and include ncurses on Windows.
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.
Without this patch however it bails out claiming the module 'signal' has no attribute 'SIGWINCH'.