Start implementing commands

This commit is contained in:
Zachary Yedidia
2019-01-01 23:29:25 -05:00
parent c01995c1b6
commit 6562e3b48d
5 changed files with 576 additions and 3 deletions

View File

@@ -751,6 +751,11 @@ func (h *BufHandler) ShellMode() bool {
// CommandMode lets the user enter a command
func (h *BufHandler) CommandMode() bool {
InfoBar.Prompt("> ", func(resp string, canceled bool) {
if !canceled {
HandleCommand(resp)
}
})
return false
}