Replaced background style
This commit is contained in:
parent
28e9af70eb
commit
0e0f4b9339
4
main.go
4
main.go
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user