mirror of
https://github.com/paul-nameless/tg
synced 2025-02-16 10:38:23 +00:00
parent
dc7bc806f5
commit
5d02e0f6b3
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ class StatusView:
|
|||
key = ord(key)
|
||||
if key == 10: # return
|
||||
break
|
||||
elif key == 127: # del
|
||||
elif key == 127 or key == 8: # del
|
||||
if buff:
|
||||
buff = buff[:-1]
|
||||
elif key in (7, 27): # (^G, <esc>) cancel
|
||||
|
|
Loading…
Add table
Reference in a new issue