Add help text

This commit is contained in:
Zachary Yedidia
2016-03-27 17:53:00 -04:00
parent d167902796
commit ec42140241
4 changed files with 97 additions and 1 deletions

View File

@@ -147,6 +147,10 @@ func main() {
}
case tcell.KeyCtrlE:
SetOption(view)
case tcell.KeyCtrlH:
DisplayHelp()
// Make sure to resize the view if the user resized the terminal while looking at the help text
view.Resize(screen.Size())
}
}