jtdaugherty / vty

A high-level ncurses alternative written in Haskell
BSD 3-Clause "New" or "Revised" License
320 stars 57 forks source link

vty-mode-demo #262

Closed ShrykeWindgrace closed 1 year ago

ShrykeWindgrace commented 1 year ago

We could bring this demo back to the vty-crossplatform

jtdaugherty commented 1 year ago

If you are referring to this, then it would first need to be updated to not assume a Posix environment. Assuming that's feasible (I haven't looked closely at the source), then yeah, this could be a nice demo program to move over to the cross-platform package with the others.

jtdaugherty commented 1 year ago

Hah, I just looked and some of the imports for Posix aren't even used! So maybe it's already basically ready.

ShrykeWindgrace commented 1 year ago

Yes, that's the one. I just checked, on windows it works out of the box with very minor modifications.

That being said, toggling mouse event does not work yet=)

I'll submit a PR for the demo itself, and fixes will go to the vty-windows, I guess.

ShrykeWindgrace commented 1 year ago

I guess this issue is no longer relevant - https://github.com/jtdaugherty/vty-crossplatform/pull/1 is merged.