Problem: ":highlight" hangs when 'cmdheight' is zero.
Solution: Add to msg_col when using the message window. (closes #11014)
// If no argument, list current highlighting.
if (!init && ends_excmd2(line - 1, line))
{
+ dont_use_message_window();
for (i = 1; i <= highlight_ga.ga_len && !got_int; ++i)
// TODO: only call when the group has attributes set
highlight_list_one((int)i);
#ifdef HAS_MESSAGE_WINDOW
/*
- * Put text "t_s" until "s" in the message window.
+ * Put text "t_s" until "end" in the message window.
* "where" specifies where to put the text.
*/
static void
redraw_win_later(wp, UPD_NOT_VALID);
// set msg_col so that a newline is written if needed
- msg_col = (int)STRLEN(t_s);
+ msg_col += (int)(end - t_s);
}
#endif
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 329,
/**/
328,
/**/