Vim mode on pause menu

This commit is contained in:
Brian Buller 2016-01-08 16:06:21 -06:00
parent f3b7713a87
commit ec97d5e228

View File

@ -16,7 +16,6 @@ const (
modeRun
modeRunInput
modePause
modeGameOver
)
type mainScreen struct {
@ -129,6 +128,7 @@ func (screen *mainScreen) performLayout(style style) {
(ScreenWidth/2)-11, (ScreenHeight/2)-3, 22, 6,
style.defaultFg, style.defaultBg)
screen.PauseMenu.SetBordered(true)
screen.PauseMenu.EnableVimMode()
screen.GameMode = modeRun
}
}