Mercurial > vim
comparison src/eval.c @ 11323:3e799a37ea22 v8.0.0547
patch 8.0.0547: extra line break in verbosefile
commit https://github.com/vim/vim/commit/52604f2454e5369f861d3ce34764f74a0999c773
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 7 16:17:39 2017 +0200
patch 8.0.0547: extra line break in verbosefile
Problem: Extra line break in verbosefile when using ":echomsg". (Ingo
Karkat)
Solution: Don't call msg_start(). (closes #1618)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 07 Apr 2017 16:30:04 +0200 |
parents | 327a04a762f6 |
children | 84baca75b7f2 |
comparison
equal
deleted
inserted
replaced
11322:106ad402619a | 11323:3e799a37ea22 |
---|---|
8326 { | 8326 { |
8327 /* Mark the already saved text as finishing the line, so that what | 8327 /* Mark the already saved text as finishing the line, so that what |
8328 * follows is displayed on a new line when scrolling back at the | 8328 * follows is displayed on a new line when scrolling back at the |
8329 * more prompt. */ | 8329 * more prompt. */ |
8330 msg_sb_eol(); | 8330 msg_sb_eol(); |
8331 msg_start(); | |
8332 } | 8331 } |
8333 | 8332 |
8334 if (eap->cmdidx == CMD_echomsg) | 8333 if (eap->cmdidx == CMD_echomsg) |
8335 { | 8334 { |
8336 MSG_ATTR(ga.ga_data, echo_attr); | 8335 MSG_ATTR(ga.ga_data, echo_attr); |