Skip to content

Commit

Permalink
fixed search color scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
nexusriot committed Mar 20, 2022
1 parent 5e7bd43 commit 0c19211
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func NewController(
) *Controller {
m := model.NewModel(host, port)
v := view.NewView()
v.Frame.AddText(fmt.Sprintf("Etcd-walker v.0.0.6 (on %s:%s)", host, port), true, tview.AlignCenter, tcell.ColorGreen)
v.Frame.AddText(fmt.Sprintf("Etcd-walker v.0.0.7 (on %s:%s)", host, port), true, tview.AlignCenter, tcell.ColorGreen)

controller := Controller{
debug: debug,
Expand Down
1 change: 0 additions & 1 deletion pkg/view/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ func (v *View) NewEditValueForm(header string, value string) *tview.Form {
func (v *View) NewSearch() *tview.InputField {
search := tview.NewInputField().
SetPlaceholder("search").
SetFieldBackgroundColor(tcell.ColorGrey).
SetFieldTextColor(tcell.ColorWhite)
return search
}
Expand Down

0 comments on commit 0c19211

Please sign in to comment.