mirror of
https://github.com/vim/vim.git
synced 2025-10-02 05:04:20 -04:00
updated for version 7.3.453
Problem: Pasting in the command line is slow. Solution: Don't redraw if there is another character to read. (Dominique Pelle)
This commit is contained in:
@@ -1852,7 +1852,10 @@ cmdline_changed:
|
||||
# endif
|
||||
)
|
||||
/* Always redraw the whole command line to fix shaping and
|
||||
* right-left typing. Not efficient, but it works. */
|
||||
* right-left typing. Not efficient, but it works.
|
||||
* Do it only when there are no characters left to read
|
||||
* to avoid useless intermediate redraws. */
|
||||
if (vpeekc() == NUL)
|
||||
redrawcmd();
|
||||
#endif
|
||||
}
|
||||
|
@@ -714,6 +714,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
453,
|
||||
/**/
|
||||
452,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user