Changes in this commit: - Handle SerialException on Windows when device disconnects. - Print clean 'device disconnected' message instead of stack trace. - Fix terminal formatting issues on Linux after disconnect. - Return disconnected state after console cleanup to avoid terminal issues. This ensures proper disconnect messages on both platforms without showing confusing error traces to users. Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| __main__.py | ||
| commands.py | ||
| console.py | ||
| main.py | ||
| mip.py | ||
| repl.py | ||
| romfs.py | ||
| transport_serial.py | ||
| transport.py | ||