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

sample app doesnt work under msys #520

Closed
pm100 opened this issue Dec 12, 2020 · 2 comments
Closed

sample app doesnt work under msys #520

pm100 opened this issue Dec 12, 2020 · 2 comments

Comments

@pm100
Copy link

pm100 commented Dec 12, 2020

build this

https://github.com/crossterm-rs/crossterm/blob/master/examples/event-read.rs

on windows, (msvc tool chain). Runs fine normally but run it under MSYS2 and the input handling goes wonky

image

msys2 from here https://www.msys2.org/

I am happy to dig into this if you could give any suggestions as to where to poke at it

@Zapeth
Copy link

Zapeth commented Jun 24, 2021

Probably a duplicate of #473

I suspect what happens is that the msys/mingw console is incorrectly recognized as a Windows console and therefore the Windows system interface is used, when the Unix system interface should be used instead.

This is just a theory though, proper support might be more involved than that.

@TimonPost
Copy link
Member

see: #580

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants