mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-22 07:11:01 +00:00
Merge pull request #362 from tilliwilli/change-white-colors-to-default
This commit is contained in:
commit
79feb369e1
4 changed files with 5 additions and 5 deletions
|
|
@ -81,7 +81,7 @@ func (gui *Gui) prepareConfirmationPanel(currentView *gocui.View, title, prompt
|
|||
gui.g.StartTicking()
|
||||
confirmationView.Title = title
|
||||
confirmationView.Wrap = true
|
||||
confirmationView.FgColor = gocui.ColorWhite
|
||||
confirmationView.FgColor = gocui.ColorDefault
|
||||
}
|
||||
gui.g.Update(func(g *gocui.Gui) error {
|
||||
return gui.switchFocus(gui.g, currentView, confirmationView, false)
|
||||
|
|
@ -147,7 +147,7 @@ func (gui *Gui) setKeyBindings(g *gocui.Gui, handleConfirm, handleClose func(*go
|
|||
}
|
||||
|
||||
// createSpecificErrorPanel allows you to create an error popup, specifying the
|
||||
// view to be focused when the user closes the popup, and a boolean specifying
|
||||
// view to be focused when the user closes the popup, and a boolean specifying
|
||||
// whether we will log the error. If the message may include a user password,
|
||||
// this function is to be used over the more generic createErrorPanel, with
|
||||
// willLog set to false
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ func GetGocuiAttribute(key string) gocui.Attribute {
|
|||
if present {
|
||||
return value
|
||||
}
|
||||
return gocui.ColorWhite
|
||||
return gocui.ColorDefault
|
||||
}
|
||||
|
||||
// GetGocuiStyle bitwise OR's a list of attributes obtained via the given keys
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ func (gui *Gui) createMenu(title string, items interface{}, itemCount int, handl
|
|||
x0, y0, x1, y1 := gui.getConfirmationPanelDimensions(gui.g, false, list)
|
||||
menuView, _ := gui.g.SetView("menu", x0, y0, x1, y1, 0)
|
||||
menuView.Title = title
|
||||
menuView.FgColor = gocui.ColorWhite
|
||||
menuView.FgColor = gocui.ColorDefault
|
||||
menuView.Clear()
|
||||
fmt.Fprint(menuView, list)
|
||||
gui.State.Panels.Menu.SelectedLine = 0
|
||||
|
|
|
|||
|
|
@ -293,7 +293,7 @@ func GetGocuiAttribute(key string) gocui.Attribute {
|
|||
if present {
|
||||
return value
|
||||
}
|
||||
return gocui.ColorWhite
|
||||
return gocui.ColorDefault
|
||||
}
|
||||
|
||||
// GetColorAttribute gets the color attribute from the string
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue