all repos — honk @ 2a76571e217ab41b2d8ca1e119086c1037326855

my fork of honk

honk colors are purple obviously
Ted Unangst tedu@tedunangst.com
Sun, 20 Oct 2019 22:01:44 -0400
commit

2a76571e217ab41b2d8ca1e119086c1037326855

parent

f3ea6e57843e1724ab523ca99595414c842db99a

1 files changed, 5 insertions(+), 5 deletions(-)

jump to
M admin.goadmin.go

@@ -52,11 +52,11 @@ app := tview.NewApplication()

var maindriver func(event *tcell.EventKey) *tcell.EventKey table := tview.NewTable().SetFixed(1, 0).SetSelectable(true, false). - SetSelectedStyle(tcell.ColorBlack, tcell.ColorGreen, 0) + SetSelectedStyle(tcell.ColorBlack, tcell.ColorPurple, 0) mainframe := tview.NewFrame(table) mainframe.AddText(tview.Escape("honk admin - [q] quit"), - true, 0, tcell.ColorGreen) + true, 0, tcell.ColorPurple) mainframe.SetBorders(1, 0, 1, 0, 4, 0) dupecell := func(base *tview.TableCell) *tview.TableCell {

@@ -122,9 +122,9 @@ editform.AddButton("save", nil)

editform.AddButton("cancel", nil) savebutton := editform.GetButton(0) editform.SetFieldTextColor(tcell.ColorBlack) - editform.SetFieldBackgroundColor(tcell.ColorGreen) + editform.SetFieldBackgroundColor(tcell.ColorPurple) editform.SetLabelColor(tcell.ColorWhite) - editform.SetButtonTextColor(tcell.ColorGreen) + editform.SetButtonTextColor(tcell.ColorPurple) editform.SetButtonBackgroundColor(tcell.ColorBlack) editform.GetButton(1).SetSelectedFunc(showtable) editform.SetCancelFunc(showtable)

@@ -143,7 +143,7 @@ editmsg := func(which int) {

msg := messages[which] editframe.Clear() editframe.AddText(tview.Escape("edit "+msg.label+" message"), - true, 0, tcell.ColorGreen) + true, 0, tcell.ColorPurple) descbox.SetText(msg.text) savebutton.SetSelectedFunc(func() { msg.text = descbox.GetText()