pull/1026/merge
Andrew Leech 2025-06-25 22:38:52 +00:00 zatwierdzone przez GitHub
commit 13b5136a77
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -114,6 +114,8 @@ async def task(g=None, prompt="--> "):
curs = 0 # cursor offset from end of cmd buffer curs = 0 # cursor offset from end of cmd buffer
while True: while True:
b = await s.read(1) b = await s.read(1)
if not b: # Handle EOF/empty read
break
pc = c # save previous character pc = c # save previous character
c = ord(b) c = ord(b)
pt = t # save previous time pt = t # save previous time