ascii art
This commit is contained in:
@@ -160,8 +160,6 @@ module BBS
|
||||
end
|
||||
|
||||
def dispatch(event)
|
||||
relayout!
|
||||
|
||||
# Modal windows: top window gets first shot at events
|
||||
if (win = top_window)
|
||||
result = win.handle_event(event)
|
||||
@@ -219,6 +217,8 @@ module BBS
|
||||
@committed = FrameBuffer.new(c, r) if first || resized
|
||||
@next = FrameBuffer.new(c, r)
|
||||
|
||||
relayout!
|
||||
|
||||
@next.fill(x: 1, y: 1, width: c, height: r, sgr: @theme[:screen])
|
||||
@root.render(@next)
|
||||
@windows.each { |w| w.render(@next) }
|
||||
|
||||
Reference in New Issue
Block a user