When type long multibyte characters in command line over &columns, you can see wrapped text.
:あああああああああああああああああああああああああああああああああああああああ> ああ http://go-gyazo.appspot.com/c1a5a1035c325ed0.png And type <left>. :あああああああああああああああああああああああああああああああああああああああ> あ_あ http://go-gyazo.appspot.com/55bd9ec8e5d5634b.png Cursor is under "_". And if type "い", we will expect following. :あああああああああああああああああああああああああああああああああああああああ> あい_う http://go-gyazo.appspot.com/081dab58c5519807.png But it become: :あああああああああああああああああああああああああああああああああああああああ> ああい_う http://go-gyazo.appspot.com/b9c17a1c5cfca238.png In ex_getln.c:2873, calling draw_cmdline(), draw_cmdline() is display first argument at msg_col/msg_row. But it don't care that msg_col/msg_row is pointed cursor. It should be corrected. Below is a patch. Please check and include. https://gist.github.com/1244951 diff -r 5e84f6567623 src/ex_getln.c --- a/src/ex_getln.c Wed Sep 21 20:09:42 2011 +0200 +++ b/src/ex_getln.c Tue Sep 27 15:25:10 2011 +0900 @@ -2870,6 +2870,7 @@ { 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) -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
