From: anatoly techtonik Date: Tue, 6 Sep 2016 19:51:13 +0000 (+0300) Subject: Fix CanClose comment after API change X-Git-Tag: v1.0.3~3^2^2 X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=1f457f9d9e1b86a3d8573723ca6423627f988ade;p=micro.git Fix CanClose comment after API change Follow up to 966dac97f84b36 --- diff --git a/cmd/micro/view.go b/cmd/micro/view.go index 8c1bdc52..4efa1687 100644 --- a/cmd/micro/view.go +++ b/cmd/micro/view.go @@ -182,7 +182,6 @@ func (v *View) ScrollDown(n int) { // CanClose returns whether or not the view can be closed // If there are unsaved changes, the user will be asked if the view can be closed // causing them to lose the unsaved changes -// The message is what to print after saying "You have unsaved changes. " func (v *View) CanClose() bool { if v.Buf.IsModified { char, canceled := messenger.LetterPrompt("Save changes to "+v.Buf.Name+" before closing? (y,n,esc) ", 'y', 'n')