-
Notifications
You must be signed in to change notification settings - Fork 128
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
CTRL-C doesn't work anymore (Windows 11) #143
Comments
Worked at least on commit |
This line is the only real change I see to the monitor since the working commit hash you've posted. Sorry to be a bother, would you be able to confirm that this is the commit which caused the problem please? |
Sorry I wanted to look into this already by myself but got distracted by some linker issues .... However, I found something! The root cause seems to be mentioned in crossterm-rs/crossterm#629 If I change espflash/espflash/src/cli/monitor.rs Line 123 in 2e9347d
KeyCode::Char('C') => break, it works again - but certainly would break things on other platforms.
So, we could wait for the next I have no idea when to expect the next release of |
Changing: espflash/espflash/src/cli/monitor.rs Lines 123 to 124 in 2e9347d
To: KeyCode::Char('c') | KeyCode::Char('C') => break,
KeyCode::Char('r') | KeyCode::Char('R') => { Should resolve this for the time being, no? I can say that on macOS Big Sur I do not experience this problem even without the fix, but it continues to work for me using this modification. |
That should resolve it without breaking MacOS or Linux. And even when crossterm gets the fix it should still work. |
Hi, Sorry for introcing a bug like this in crossterm, for now the new version 0.23.1 is fixed. |
On master (
2e9347d34d41d9e59b62a2293bae41a7c193bb27
) CTRL-C doesn't work anymore (Windows 11 at least) when running with--monitor
Need to check when exactly that broke - not tested on other platforms yet
The text was updated successfully, but these errors were encountered: