InputField: replace buffer with byte buffer and update appearance

This commit is contained in:
Luke I. Wilson
2021-04-04 08:30:09 -05:00
parent 1b50aff0c6
commit 28e9af70eb
3 changed files with 98 additions and 36 deletions

View File

@@ -31,7 +31,7 @@ func (theme *Theme) GetOrDefault(key string) tcell.Style {
var DefaultTheme = Theme{
"Normal": tcell.Style{}.Foreground(tcell.ColorSilver).Background(tcell.ColorBlack),
"Button": tcell.Style{}.Foreground(tcell.ColorBlack).Background(tcell.ColorWhite),
"InputField": tcell.Style{}.Foreground(tcell.ColorWhite).Background(tcell.ColorBlack),
"InputField": tcell.Style{}.Foreground(tcell.ColorSilver).Background(tcell.ColorBlack),
"MenuBar": tcell.Style{}.Foreground(tcell.ColorBlack).Background(tcell.ColorSilver),
"MenuBarSelected": tcell.Style{}.Foreground(tcell.ColorSilver).Background(tcell.ColorBlack),
"Menu": tcell.Style{}.Foreground(tcell.ColorBlack).Background(tcell.ColorSilver),