43364RE: echo message missing
- May 2, 2006Robert Webb wrote:
> > Will inserting "redraw" command before echo help ? Like this:A redraw may actually clear a message. This is tricky stuff. It's
> > func! SaveSession()
> > mksession! aaaSession.vse
> > redraw
> > echo "Session saved"
> > endfunction
> You're right, this fixes it. Thanks.
> But is it a bug still that the echo message is lost due
> to a redraw caused by an earlier command? Maybe when echo
> goes to the screen, any pending redraw should be carried
> out first?
better to leave it as it is, otherwise the scripts that were carefully
tuned with how it currently works will break.
A couple of months in the laboratory can
frequently save a couple of hours in the library.
/// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
- << Previous post in topic