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() msg = self.view.status.get_input()
if msg: if msg:
self.model.send_message(text=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"): elif keys in ("I", "A"):
self.write_long_msg() self.write_long_msg()