From 73dc59aad86cd3e191b148ac367bf86daa42241c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 30 Sep 2011 17:46:21 +0200 Subject: 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) --- src/ex_getln.c | 1 + src/version.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/ex_getln.c b/src/ex_getln.c index da03a0494..97c122da7 100644 --- a/src/ex_getln.c +++ b/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) diff --git a/src/version.c b/src/version.c index cca3eada8..3aa358f57 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 328, /**/ 327, /**/ -- cgit v1.2.1