Merge branch 'master' into long-msg

This commit is contained in:
Paul Nameless 2020-05-19 14:41:33 +08:00
commit c439c77a44

View file

@ -217,7 +217,8 @@ class Controller:
msg = self.view.status.get_input()
if msg:
self.model.send_message(text=msg)
self.view.status.draw(f"Sent: {msg}")
with self.lock:
self.view.status.draw(f"Sent: {msg}")
elif keys in ("I", "A"):
self.write_long_msg()