mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-21 23:01:03 +00:00
don't ever highlight main
This commit is contained in:
parent
32fc8ea3e2
commit
c57b7122df
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ func (gui *Gui) getFocusLayout() func(g *gocui.Gui) error {
|
|||
func (gui *Gui) onFocusChange() error {
|
||||
currentView := gui.g.CurrentView()
|
||||
for _, view := range gui.g.Views() {
|
||||
view.Highlight = view == currentView
|
||||
view.Highlight = view == currentView && view.Name() != "main"
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue