micropython-lib/micropython
Andrew Leech 5ab36aed4a aiorepl: Fix Enter key handling in raw terminal mode.
Handle both CR (0x0D) and LF (0x0A) for command execution to ensure
compatibility with raw terminal mode where Enter sends CR instead of LF.

This fixes the issue where aiorepl required Ctrl+Enter instead of
just Enter to execute commands when used with MicroPython ports that
put stdin in raw mode (such as the updated unix port using pyexec).

Also improves handling of various newline sequences (CRLF, double-LF,
double-CR) to prevent double-execution of commands.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Andrew Leech <andrew.leech@planetinnovation.com.au>
2025-06-02 15:13:04 +10:00
..
aioespnow aioespnow,webrepl: Use recommended network.WLAN.IF_[AP|STA] constants. 2024-11-07 12:48:55 +11:00
aiorepl aiorepl: Fix Enter key handling in raw terminal mode. 2025-06-02 15:13:04 +10:00
bluetooth aioble: Pass additional connection arguments to gap_connect. 2024-10-18 13:03:39 +11:00
bundles
drivers nrf24l10: Bump minor version. 2025-04-10 22:33:53 +10:00
espflash
lora lora-sx126x: Fix invert_iq_rx / invert_iq_tx behaviour. 2025-04-10 22:39:40 +10:00
mip mip: Make mip.install() skip /rom*/lib directories. 2025-03-11 16:27:09 +11:00
mip-cmdline
net aioespnow,webrepl: Use recommended network.WLAN.IF_[AP|STA] constants. 2024-11-07 12:48:55 +11:00
senml
uaiohttpclient
ucontextlib
udnspkt
umqtt.robust
umqtt.simple umqtt.simple: Restore legacy ssl/ssl_params arguments. 2025-04-10 21:10:01 +10:00
upysh
urequests
urllib.urequest
usb usb-device-cdc: Optimise writing small data so it doesn't require alloc. 2025-04-13 13:27:47 +10:00
xmltok
README.md

README.md

MicroPython-specific packages

These are packages that have been written specifically for use on MicroPython.

Packages in this directory should not have the same name as modules from the Python Standard Library.

Future plans

  • More organised directory structure based on purpose (e.g. drivers, network, etc).