Fix infobar prompt

This commit is contained in:
Zachary Yedidia
2019-01-02 20:57:27 -05:00
parent 8a0bd1f786
commit bc7b70fefe
3 changed files with 6 additions and 5 deletions

View File

@@ -119,7 +119,7 @@ func DefaultCommands() map[string]StrCommand {
// enter
func CommandEditAction(prompt string) BufKeyAction {
return func(h *BufHandler) bool {
InfoBar.Prompt("> "+prompt, func(resp string, canceled bool) {
InfoBar.Prompt("> ", prompt, func(resp string, canceled bool) {
if !canceled {
HandleCommand(resp)
}