Vim mode on pause menu
This commit is contained in:
parent
f3b7713a87
commit
ec97d5e228
@ -16,7 +16,6 @@ const (
|
|||||||
modeRun
|
modeRun
|
||||||
modeRunInput
|
modeRunInput
|
||||||
modePause
|
modePause
|
||||||
modeGameOver
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type mainScreen struct {
|
type mainScreen struct {
|
||||||
@ -129,6 +128,7 @@ func (screen *mainScreen) performLayout(style style) {
|
|||||||
(ScreenWidth/2)-11, (ScreenHeight/2)-3, 22, 6,
|
(ScreenWidth/2)-11, (ScreenHeight/2)-3, 22, 6,
|
||||||
style.defaultFg, style.defaultBg)
|
style.defaultFg, style.defaultBg)
|
||||||
screen.PauseMenu.SetBordered(true)
|
screen.PauseMenu.SetBordered(true)
|
||||||
|
screen.PauseMenu.EnableVimMode()
|
||||||
screen.GameMode = modeRun
|
screen.GameMode = modeRun
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user