1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-02 09:21:40 +02:00

better visibility for tui

This commit is contained in:
Jesse Duffield 2023-02-12 10:09:55 +11:00
parent 1c48842277
commit 08c2b46d04
2 changed files with 2 additions and 0 deletions

View File

@ -307,6 +307,7 @@ func (self *app) layout(g *gocui.Gui) error {
}
listView.Highlight = true
listView.SelBgColor = gocui.ColorBlue
self.renderTests()
listView.Title = "Tests"
listView.FgColor = gocui.ColorDefault

View File

@ -348,6 +348,7 @@ func (app *App) layout(g *gocui.Gui) error {
return err
}
listView.Highlight = true
listView.SelBgColor = gocui.ColorBlue
listView.Clear()
for _, test := range app.tests {
fmt.Fprintln(listView, test.Name)