comparison 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
comparison
equal deleted inserted replaced
3434:39a0757e0086 3435:19040069b8bf
2346 mp = mp->sb_prev; 2346 mp = mp->sb_prev;
2347 return mp; 2347 return mp;
2348 } 2348 }
2349 2349
2350 /* 2350 /*
2351 * Mark the last message chunk as finishing the line.
2352 */
2353 void
2354 msg_sb_eol()
2355 {
2356 if (last_msgchunk != NULL)
2357 last_msgchunk->sb_eol = TRUE;
2358 }
2359
2360 /*
2351 * Display a screen line from previously displayed text at row "row". 2361 * Display a screen line from previously displayed text at row "row".
2352 * Returns a pointer to the text for the next line (can be NULL). 2362 * Returns a pointer to the text for the next line (can be NULL).
2353 */ 2363 */
2354 static msgchunk_T * 2364 static msgchunk_T *
2355 disp_sb_line(row, smp) 2365 disp_sb_line(row, smp)