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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user