~adnano/astronaut

4e7b6c1dd3ff6938f03a5aca0885075e86232053 — Adnan Maolood 21 days ago 6df9e4e
ui: Invalidate on screen resize
1 files changed, 1 insertions(+), 0 deletions(-)

M ui/ui.go
M ui/ui.go => ui/ui.go +1 -0
@@ 65,6 65,7 @@ func (u *UI) Tick(app Application) bool {
		if event, ok := event.(*tcell.EventResize); ok {
			w, h := event.Size()
			app.Layout(0, 0, w, h)
			atomic.StoreInt32(&u.invalid, 1)
		}

		app.Event(event)