diff src/message.c @ 3435:19040069b8bf v7.3.483

updated for version 7.3.483 Problem: More prompt shows up too often. Solution: Instead of adding a line break, only start a new line in the message history. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Wed, 28 Mar 2012 16:49:29 +0200
parents 821c8be2e9d6
children f15769bce0b8
line wrap: on
line diff
--- a/src/message.c
+++ b/src/message.c
@@ -2348,6 +2348,16 @@ msg_sb_start(mps)
 }
 
 /*
+ * Mark the last message chunk as finishing the line.
+ */
+    void
+msg_sb_eol()
+{
+    if (last_msgchunk != NULL)
+	last_msgchunk->sb_eol = TRUE;
+}
+
+/*
  * Display a screen line from previously displayed text at row "row".
  * Returns a pointer to the text for the next line (can be NULL).
  */