Browse Source

Fixed Colors

- Previously, half of everything would be black or white
- Now it uses terminal colors
pull/9/head
adroslice 2 months ago
parent
commit
5f8f046178
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      cmd/gmenu/gui.go

+ 4
- 0
cmd/gmenu/gui.go View File

@ -65,6 +65,8 @@ func (r *optionsList) Draw(screen tcell.Screen) {
}
tv := r.TextView
tv.SetBackgroundColor(tcell.ColorDefault)
tv.SetTextColor(tcell.ColorDefault)
tv.SetText(b.String())
tv.Highlight("gmenu")
tv.ScrollToBeginning()
@ -93,6 +95,8 @@ func initTUI() (*cview.Application, error) {
appDetailsView.SetTextAlign(cview.AlignLeft)
appDetailsView.SetWrap(true)
appDetailsView.SetWordWrap(true)
appDetailsView.SetBackgroundColor(tcell.ColorDefault)
appDetailsView.SetTextColor(tcell.ColorDefault)
if config.HideAppDetails {
grid.SetColumns(-1)


Loading…
Cancel
Save