mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 9.0.0595: extra newline in messages after a verbose shell message
Problem: Extra newline in messages after a verbose shell message. Solution: Output the newline with msg_putchar_attr(). (closes #11233) Make it possible to filter a screendump before comparing it.
This commit is contained in:
@@ -2602,7 +2602,8 @@ msg_puts_display(
|
||||
if (msg_win != NULL)
|
||||
popup_show_message_win();
|
||||
#endif
|
||||
if (p_more && !recurse)
|
||||
// Store the text for scroll back, unless it's a newline by itself.
|
||||
if (p_more && !recurse && !(s == sb_str + 1 && *sb_str == '\n'))
|
||||
store_sb_text(&sb_str, s, attr, &sb_col, FALSE);
|
||||
|
||||
msg_check();
|
||||
|
Reference in New Issue
Block a user