Resolve xterm display issues

Fixes #14
This commit is contained in:
Trevor Slocum 2019-11-08 16:39:00 -08:00
parent 8b2de97a3b
commit 019460df0c
2 changed files with 4 additions and 4 deletions

View file

@ -20,7 +20,7 @@ func initGUI(skipTitle bool) (*tview.Application, error) {
SetText(DefaultStatusText).
SetLabel("> ").
SetFieldWidth(0).
SetFieldBackgroundColor(tcell.ColorDefault).
SetFieldBackgroundColor(tcell.ColorBlack).
SetFieldTextColor(tcell.ColorWhite)
inputView.SetInputCapture(func(event *tcell.EventKey) *tcell.EventKey {

View file

@ -154,16 +154,16 @@ func updateTitle() {
buttonLabelA.SetText("\nResume game in progress")
buttonB.SetLabel("Settings")
buttonLabelB.SetText("\nChange player name, keybindings, etc")
buttonLabelB.SetText("\nPlayer name, keybindings, etc.")
buttonC.SetLabel("Quit")
buttonLabelC.SetText("\nQuit game")
} else {
buttonA.SetLabel("Play")
buttonLabelA.SetText("\nPlay with others online")
buttonLabelA.SetText("\nPlay with others")
buttonB.SetLabel("Practice")
buttonLabelB.SetText("\nPlay by yourself")
buttonLabelB.SetText("\nPlay alone")
buttonC.SetLabel("Settings")
buttonLabelC.SetText("\nPlayer name, keybindings, etc.")