durdraw icon indicating copy to clipboard operation
durdraw copied to clipboard

Crashes in Windows 10: curses.panel.move() returns ERR

Open cmang opened this issue 2 years ago • 2 comments

Durdraw 0.15 actually worked alright in Windows (in Command Prompt, Windows Terminal, etc) with windows-ncurses installed, but the latest build (0.17.2) has issues.

The issue seems to have started when I started using curses panels. Curses.panel.move() returns ERR. I haven't investigated too deeply, but some possible theories are that the Windows curses clone does not fully implement panels, or maybe that it needs a bit more care with the order things are done in. It would be nice if someone would help track down and fix the Windows issues.

cmang avatar Jan 24 '23 11:01 cmang

This appears to be caused by windows-curses having an incomplete or broken implementation of panels:

zephyrproject-rtos/windows-curses#11

Unfortunately the only workaround I'm aware of at the moment is to run Durdraw under Windows Subsystem for Linux. This precludes it from running in the MS-DOS Prompt window, Powershell window, etc.

cmang avatar Nov 10 '23 11:11 cmang

It looks like, in addition to WSL, Durdraw can be used in Windows through Docker. This works in the Command Prompt Window, Powershell window, etc. No obvious problems.

The upside is that it works. The downside is, Docker is a pretty heavy requirement. A self-contained .exe would be nicer.

cmang avatar Jan 25 '24 09:01 cmang