Balázs Cene
Balázs Cene
Could you give some more details on your configuration? Mouse support _should_ work on the latest versions, so it's either an outdated terminal or outdated PTG install. Thanks for trying...
Unfortunately I do not have a Windows machine to trial things on so I can't really know what's going on. @Tired-Fox implemented mouse support for Windows some time ago, and...
> FWIW anyone who wants a TUI on windows probably is running windows shell and not conhost anyways. That's been my assumption too, but you never know :) --- To...
Could you show me the output of pressing backspace while running `ptg -g`? I suspect the character that gets input isn't what we were previously looking for.
> For arrow keys, ptg -g doesn't work the same way it does in linux, like mentioned in https://github.com/bczsalba/pytermgui/issues/133, and backspace in input field doesn't work as well. Could you...
Huh, that's interesting. The codes seem correct, so no idea why it doesn't behave properly. Maybe someone with a Windows machine could diagnose it further? > Note the behavior of...
Could you try commenting out: https://github.com/bczsalba/pytermgui/blob/e6ef8b32e347679144ef8aa310273acf29d93372/pytermgui/input.py#L182-L185 Looking at it again, it seems that not checking up front would be the more accurate algorithm when compared to the UNIX implementation.
> I think it needs a dedicated maintainer/tester for Windows to be considered cross-platform. Unfortunately I'm just one guy, so this is the best I can do :( I think...
Unfortunately this pulls in a new dependency, which I'm not super keen on. Since it's kind of impossible for me to do this manually in a completely perfect and reliable...
Implemented this myself since this PR seems abandoned, thanks for the idea :)