Fix main screen input position
This commit is contained in:
parent
7abfa8f3cd
commit
9a86542303
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user