diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-03-28 16:49:29 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-03-28 16:49:29 +0200 |
commit | 6df5e5ae42a9fd47c6ec243b45073956ec3a1fa1 (patch) | |
tree | 35c4976c6f60cae8bd4edd3fee2b33de6e48c006 /src/message.c | |
parent | 524780d69f4be69caad73a429665d0bfd9aa5ca7 (diff) | |
download | vim-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.c | 10 |
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). */ |