From 0e0f4b93391d02b95c9bda129afe1a107eea8f25 Mon Sep 17 00:00:00 2001 From: "Luke I. Wilson" Date: Sun, 4 Apr 2021 08:33:42 -0500 Subject: [PATCH] Replaced background style --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 368052f..db998a1 100644 --- a/main.go +++ b/main.go @@ -351,7 +351,9 @@ func main() { screen.Clear() // Draw background (grey and black checkerboard) - ui.DrawRect(screen, 0, 0, sizex, sizey, '▚', tcell.Style{}.Foreground(tcell.ColorGrey).Background(tcell.ColorBlack)) + // TODO: draw checkered background on panics with error dialog + //ui.DrawRect(screen, 0, 0, sizex, sizey, '▚', tcell.Style{}.Foreground(tcell.ColorGrey).Background(tcell.ColorBlack)) + ui.DrawRect(screen, 0, 1, sizex, sizey-1, ' ', tcell.Style{}.Background(tcell.ColorBlack)) if tabContainer.GetTabCount() > 0 { // Draw the tab container only if a tab is open tabContainer.Draw(screen)