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

0 comments on commit 31c1fcc

Please sign in to comment.
Something went wrong with that request. Please try again.