You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying out a simple serial echo with my new esp32, I found out it received twice the letters I typed when using espflash monitor.
However, when using PuTTY, it only received them once.
Using the original windows console allowed me to pinpoint the issue, keys are sent for press and for release event.
Adding a simple dbg!(key) here
I am not sure if this is intended, this can be fixed simply by checking if it is a key press or a key release.
I also want to add that this was difficult to find because inside some terminals, like the RustRover terminal or the new windows terminal, key presses were sending press and release instantaneously, even if the key was not yet released. The old windows terminal however correctly waited for me to release the key before sending the release event. Maybe this is due to a bug in an upstream library ?
The text was updated successfully, but these errors were encountered:
When trying out a simple serial echo with my new esp32, I found out it received twice the letters I typed when using espflash monitor.
However, when using PuTTY, it only received them once.
Using the original windows console allowed me to pinpoint the issue, keys are sent for press and for release event.
Adding a simple
dbg!(key)
hereespflash/espflash/src/cli/monitor/mod.rs
Lines 117 to 124 in 45946f8
I am not sure if this is intended, this can be fixed simply by checking if it is a key press or a key release.
I also want to add that this was difficult to find because inside some terminals, like the RustRover terminal or the new windows terminal, key presses were sending press and release instantaneously, even if the key was not yet released. The old windows terminal however correctly waited for me to release the key before sending the release event. Maybe this is due to a bug in an upstream library ?
The text was updated successfully, but these errors were encountered: