wendlers / mpfshell

A simple shell based file explorer for ESP8266 Micropython based devices ⛺
MIT License
396 stars 84 forks source link

Ctrl-C not working #86

Closed sengpw closed 3 years ago

sengpw commented 4 years ago

For me Version 0.9.1 did not work (using with ESP32). Ctrl-C was often not recognized. Ctrl-C worked when using picocom for example, and picocom just send Ctrl-C once. So changed line 62 of file "pyboard.py" from self.con.write(b"\r\x03\x03") # ctrl-C twice: interrupt any running program to self.con.write(b"\r\x03") # ctrl-C: interrupt any running program When erasing line 61 (the additional delay) it still works, so I think the delay may be deleted too.

skorokithakis commented 4 years ago

Is this when you pressed Ctrl-C to exit mpfshell, or to interrupt the running program?

skorokithakis commented 3 years ago

Closing in favor of #97.