-
Notifications
You must be signed in to change notification settings - Fork 122
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
espflash monitor takes over the terminal #681
Comments
Seems similar to #464, I do use the same |
My colleagues and I have observed that behavior across different terminals (Windows terminal, ubuntu's terminal, alacritty) and different machines with different OSes (Linux, Windows) I really seems independent of the platform you're running on |
Similar behavior when it cannot find a usb:
|
This bug is the bane of my existence, any clue where I could start looking for it in the espflash codebase? |
I don't have many pointers, but here is where we wait for the Ctrl+C press: https://github.com/esp-rs/espflash/blob/main/espflash/src/cli/monitor/mod.rs#L118-L131. Might be related to the lib we use to process them ( |
It happens often that I cannot kill
espflash monitor
withCtrl-C
orCtrl-\
and the logs stop coming aswell. I'm not sure if my code crashed or if it's the connection to the device but it would be nice to have some error message or at least be able to kill the process instead of having to relaunch my terminal.I use alacritty as a terminal btw:
The text was updated successfully, but these errors were encountered: