Hi Bram and Vim addicts!

How to reproduce:
- Start pure Vim.
  $ vim -N -u NONE
- Open command-line window.
  q:
- Change to insert mode and display command-line completion popup menu.
  i<C-X><C-V>
- Leave the command-line window and continue in Command-line mode.
  <C-C>

Expected behavior:
- The popup menu undisplayed.

Actual behavior:
- remains popup menu displayed.


I wrote a patch to fix this issue.
Please check this.

--
Best regards,
Hirohito Higashi (a.k.a h_east)

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/edit.c b/src/edit.c
--- a/src/edit.c
+++ b/src/edit.c
@@ -3903,6 +3903,11 @@
 		showmode();
 	    }
 
+#ifdef FEAT_CMDWIN
+	    if (c == Ctrl_C && cmdwin_type != 0)
+		/* To avoid the remains popup menu displayed. */
+		update_screen(0);
+#endif
 #ifdef FEAT_CINDENT
 	    /*
 	     * Indent now if a key was typed that is in 'cinkeys'.

Raspunde prin e-mail lui