Added a space after : for each message

master
Pickles 2012-10-21 15:44:53 -07:00
parent d57212f8f5
commit efb5b0674b
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ class Visualizer():
def __add_message_to_screen__(self): def __add_message_to_screen__(self):
if len(self.message_queue) > 0: if len(self.message_queue) > 0:
message = self.message_queue[len(self.message_queue)-1] message = self.message_queue[len(self.message_queue)-1]
message_string = str(message.user)+":"+ str(message.data) message_string = str(message.user)+": "+ str(message.data)
self.screen.addstr(self.last_message_index+3,1, message_string + " "*(self.screen_max_x-(2+len(message_string)))) self.screen.addstr(self.last_message_index+3,1, message_string + " "*(self.screen_max_x-(2+len(message_string))))
self.last_message_index +=1 self.last_message_index +=1
self.message_queue.pop() self.message_queue.pop()