diff src/ex_getln.c @ 6876:4ece46045a5a v7.4.758

patch 7.4.758 Problem: When 'conceallevel' is 1 and quitting the command-line window with CTRL-C the first character ':' is erased. Solution: Reset 'conceallevel' in the command-line window. (Hirohito Higashi)
author Bram Moolenaar <bram@vim.org>
date Thu, 25 Jun 2015 18:20:36 +0200
parents 5f6077b10738
children 58d9f967ae1a
line wrap: on
line diff
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -6611,6 +6611,10 @@ ex_window()
 	/* Don't execute autocommands while deleting the window. */
 	block_autocmds();
 # endif
+# ifdef FEAT_CONCEAL
+	/* Avoid command-line window first character being concealed. */
+	curwin->w_p_cole = 0;
+# endif
 	wp = curwin;
 	bp = curbuf;
 	win_goto(old_curwin);