Verified Commit 00745981 authored by mathieui's avatar mathieui

Add a missing nick size bound, which caused text to overflow

for nicks with length > 10 and messages longer than one line, it would
overflow on the line below everytime.
parent 310d6630
......@@ -142,11 +142,13 @@ class TextBuffer(object):
ret_val = None
show_timestamps = config.get('show_timestamps')
nick_size = config.get('max_nick_length')
for window in # make the associated windows
# build the lines from the new message
nb = window.build_new_message(msg, history=history,
if ret_val is None:
ret_val = nb
if window.pos != 0:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment