forked from aniani/vim
updated for version 7.3.328
Problem: When command line wraps the cursor may be displayed wrong when there are multi-byte characters. Solution: Position the cursor before drawing the text. (Yasuhiro Matsumoto)
This commit is contained in:
parent
8f535582ad
commit
73dc59aad8
@ -2870,6 +2870,7 @@ put_on_cmdline(str, len, redraw)
|
||||
{
|
||||
msg_no_more = TRUE;
|
||||
i = cmdline_row;
|
||||
cursorcmd();
|
||||
draw_cmdline(ccline.cmdpos, ccline.cmdlen - ccline.cmdpos);
|
||||
/* Avoid clearing the rest of the line too often. */
|
||||
if (cmdline_row != i || ccline.overstrike)
|
||||
|
@ -709,6 +709,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
328,
|
||||
/**/
|
||||
327,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user