Add space for message field
This commit is contained in:
parent
5fcd990699
commit
39d7bc4385
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue