Replaced background style

This commit is contained in:
Luke I. Wilson 2021-04-04 08:33:42 -05:00
parent 28e9af70eb
commit 0e0f4b9339

View File

@ -351,7 +351,9 @@ func main() {
screen.Clear() screen.Clear()
// Draw background (grey and black checkerboard) // 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 if tabContainer.GetTabCount() > 0 { // Draw the tab container only if a tab is open
tabContainer.Draw(screen) tabContainer.Draw(screen)