Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions micropython/aiorepl/aiorepl.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ async def task(g=None, prompt="--> "):
curs = 0 # cursor offset from end of cmd buffer
while True:
b = await s.read(1)
if not b: # Handle EOF/empty read
break
pc = c # save previous character
c = ord(b)
pt = t # save previous time
Expand Down
2 changes: 1 addition & 1 deletion micropython/aiorepl/manifest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
metadata(
version="0.2.1",
version="0.2.2",
description="Provides an asynchronous REPL that can run concurrently with an asyncio, also allowing await expressions.",
)

Expand Down
Loading