Clear input text after user has typed it
This commit is contained in:
parent
702432c92a
commit
ccf5142121
|
@ -38,6 +38,7 @@ class client():
|
|||
receiving.start()
|
||||
while True:
|
||||
msg = input()
|
||||
print('\033[1A' + '\033[K', end='')
|
||||
msg = f"\nClient: {msg}\n"
|
||||
print(msg)
|
||||
self.sMsg(msg)
|
||||
|
|
Loading…
Reference in New Issue