Send now sends messages forward

master
haddaway 2012-10-20 20:24:44 -07:00
parent f05401042a
commit 00c54dca5f
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,8 @@ class Visualizer():
self.__draw_frame__()
if entry == ord('s'):
self.screen.nodelay(0)
input = self.screen.getstr(1, 1, 60)
user_input = self.screen.getstr(1, 1, 60)
self.protocol.send_message(user_input)
self.screen.nodelay(1)
self.__draw_frame__()
self.screen.refresh()