Tony Mechelynck wrote:

> ":close" command behaves strangely in command-line window.
> 
> Reproducible: Always.
> 
> Steps to reproduce:
> 1. Open the command-line window by q/ q? or q:
> 2. (Optional) Move the cursor about.
> 3. Type :close then hit the <Enter> key.
> 
> Expected results:
> The command-line history should close, reverting to normal editing.
> 
> Actual results:
> - Nothing happens.
> - The cursor is still on the command-line, which has been filled with 
> the line which was under the cursor after step 2.
> 
> I think that what is actually lacking is a screen redraw, because at 
> this point hitting the colon key in a search history window, or typing 
> :redraw then hitting <Enter> in an ex-command history window, are enough 
> to close the window.

Yes, this looks strange.  I'll make a note on the todo list.

-- 
Article in the first Free Software Magazine: "Bram Moolenaar studied electrical
engineering at the Technical University of Delft and graduated in 1985 on a
multi-processor Unix architecture."
Response by "dimator": Could the school not afford a proper stage for the
ceremony?

 /// Bram Moolenaar -- [email protected] -- 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    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui