Archived
1
0
Fork 0

Add space for message field

This commit is contained in:
Braiden Vasco 2017-07-21 17:43:39 +00:00
parent 5fcd990699
commit 39d7bc4385

View file

@ -24,6 +24,10 @@ module Widgets
end
end
def log_height
height - 2
end
def render
offset = 0
@ -34,7 +38,7 @@ module Widgets
offset = render_message offset, time, name, text
break if offset >= height
break if offset >= log_height
end
end