summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-03-28 16:49:29 +0200
committerBram Moolenaar <Bram@vim.org>2012-03-28 16:49:29 +0200
commit6df5e5ae42a9fd47c6ec243b45073956ec3a1fa1 (patch)
tree35c4976c6f60cae8bd4edd3fee2b33de6e48c006 /src/message.c
parent524780d69f4be69caad73a429665d0bfd9aa5ca7 (diff)
downloadvim-git-6df5e5ae42a9fd47c6ec243b45073956ec3a1fa1.tar.gz
updated for version 7.3.483v7.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)
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/message.c b/src/message.c
index c9b6a2846..b9cc93fa1 100644
--- 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).
*/