summaryrefslogtreecommitdiff
path: root/ui/ui.go
diff options
context:
space:
mode:
authorHubert Hirtz <hubert@hirtz.pm>2021-10-27 13:25:35 +0200
committerHubert Hirtz <hubert@hirtz.pm>2021-10-27 13:25:35 +0200
commitc1329b30ec531a5c82a629acf4b0c521dc4720d3 (patch)
treebc3ad4526cdb1185d757c66206d8d7d1437d8768 /ui/ui.go
parentScroll up/down highlight by highlight (diff)
Sync screen during resize
For CtrlL to actually refresh the screen.
Diffstat (limited to 'ui/ui.go')
-rw-r--r--ui/ui.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ui.go b/ui/ui.go
index ef81827..68511ab 100644
--- a/ui/ui.go
+++ b/ui/ui.go
@@ -295,6 +295,7 @@ func (ui *UI) Resize() {
} else {
ui.bs.ResizeTimeline(innerWidth, h-2)
}
+ ui.screen.Sync()
}
func (ui *UI) Size() (int, int) {