Permalink
Browse files

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)
  • Loading branch information...
brammool committed Sep 30, 2011
1 parent de67d3e commit 31c1fcc6b279d5ccc4b40fcdb17459e200d867e8
Showing with 3 additions and 0 deletions.
  1. +1 −0 src/ex_getln.c
  2. +2 −0 src/version.c
View
@@ -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)
View
@@ -709,6 +709,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 328,
/**/
327,
/**/

0 comments on commit 31c1fcc

Please sign in to comment.