Fix main screen input position

This commit is contained in:
Brian Buller 2019-03-15 07:29:57 -05:00
parent 7abfa8f3cd
commit 9a86542303

View File

@ -64,7 +64,7 @@ func (screen *MainScreen) Id() int { return ScreenIdMain }
func (screen *MainScreen) Initialize(bundle termboxScreen.Bundle) error { func (screen *MainScreen) Initialize(bundle termboxScreen.Bundle) error {
width, height := termbox.Size() width, height := termbox.Size()
screen.inputField = termboxUtil.CreateInputField(0, (height - 3), width, 1, DefaultFg, DefaultBg) screen.inputField = termboxUtil.CreateInputField(0, (height - 2), width, 1, DefaultFg, DefaultBg)
screen.cursor = make(map[string]int) screen.cursor = make(map[string]int)
if bundle != nil { if bundle != nil {