Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cmang opened this issue Jan 24, 2023 · 2 comments
Open

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

cmang opened this issue Jan 24, 2023 · 2 comments
Labels
blocked by upstream The bug is in an upstream dependency. bug

Comments

@cmang
Copy link
Owner

cmang commented Jan 24, 2023

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
Copy link
Owner Author

cmang commented Nov 10, 2023

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 cmang changed the title Feature Request: Windows Support Crashes in Windows 10: curses.panel.move() returns ERR Nov 10, 2023
@cmang cmang added bug blocked by upstream The bug is in an upstream dependency. and removed enhancement labels Nov 10, 2023
@cmang
Copy link
Owner Author

cmang commented Jan 25, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked by upstream The bug is in an upstream dependency. bug
Projects
None yet
Development

No branches or pull requests

2 participants
@cmang and others