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

ncurses example is not working (cannot click on things) #2

Closed
WSSDude opened this issue Dec 10, 2019 · 5 comments
Closed

ncurses example is not working (cannot click on things) #2

WSSDude opened this issue Dec 10, 2019 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@WSSDude
Copy link

WSSDude commented Dec 10, 2019

I'm unable to click on anything in ncurses example. It just selects text (even title says that, it changes from <path_to_exe> to Select <path_to_exe>). Right-click or pressing some key resets select mode, but there is no way for me to make example application work unfortunately.

I'm compiling with MSYS2 64-bit with MinGW-w64 64-bit compiler on Windows 10. I had issue with compilation as mentioned in issue #1, maybe it is relevant to this problem in some way.

@WSSDude WSSDude changed the title Example is not working (cannot click on things) ncurses example is not working (cannot click on things) Dec 10, 2019
@ggerganov
Copy link
Owner

Thanks for the feedback. Currently, I don't have a Windows machine so I cannot test it myself, but my expectation was that it wouldn't work. As far as I understand, ncurses is not supported on Windows. I am pretty new to ncurses and I might be wrong, but I guess since it is POSIX based, it won't work on Windows. Maybe try in cygwin or WSL?

@WSSDude
Copy link
Author

WSSDude commented Dec 11, 2019

Hm, didn't know that tbh. I just downloaded package as said, I don't know what ncurses is/does in details.

I'll try to run it from one of those as you suggested hopefully later this day.

@ggerganov ggerganov added the help wanted Extra attention is needed label Dec 16, 2019
@WSSDude
Copy link
Author

WSSDude commented Dec 22, 2019

It seems to work on WSL Ubuntu. (Sorry to reply late...)

@oising
Copy link

oising commented Jan 27, 2020

@WSSDude -- it won't work in Windows Terminal because they don't support the mouse yet (SGR in virtual terminal mode).

If you open WSL on windows in a regular conhost window (start > run > WSL) it will work on windows 10 that is later than v1809

@oising
Copy link

oising commented Jan 29, 2020

Oh, you might also have to turn off "quick edit" for the console (conhost)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants