Fix '> save' command

This commit is contained in:
Zachary Yedidia
2020-05-28 13:02:09 -04:00
parent dd10869eca
commit a915cf9283

View File

@@ -146,7 +146,7 @@ func (i *InfoBuf) DonePrompt(canceled bool) {
h := i.History[i.PromptType] h := i.History[i.PromptType]
h[len(h)-1] = resp h[len(h)-1] = resp
} }
i.PromptCallback = nil // i.PromptCallback = nil
} }
i.Replace(i.Start(), i.End(), "") i.Replace(i.Start(), i.End(), "")
} }