Archived
1
0
Fork 0
This commit is contained in:
Braiden Vasco 2017-07-24 11:40:49 +00:00
parent 0a81033cae
commit 20f663f280

View file

@ -22,7 +22,7 @@ module Widgets
offset = 0
messages.each do |msg|
offset = draw_message offset, msg[:out], msg[:time].strftime('%H:%M:%S'), msg[:name], msg[:text]
offset += draw_message offset, msg[:out], msg[:time].strftime('%H:%M:%S'), msg[:name], msg[:text]
break if offset >= height
end
@ -48,7 +48,7 @@ module Widgets
addstr text[(width * (line - 1))...(width * line)]
end
offset + 1 + lines
1 + lines
end
end
end