Mirror of the Vim source from https://github.com/vim/vim
Revision | 826f00fef9e338c7afebef68658716bb0aab62f4 (tree) |
---|---|
Time | 2007-09-06 19:54:51 |
Author | vimboss |
Commiter | vimboss |
updated for version 7.1-096
@@ -944,6 +944,7 @@ | ||
944 | 944 | c = K_IGNORE; |
945 | 945 | } |
946 | 946 | #endif |
947 | + | |
947 | 948 | /* |
948 | 949 | * Allow scrolling back in the messages. |
949 | 950 | * Also accept scroll-down commands when messages fill the screen, |
@@ -1840,6 +1841,7 @@ | ||
1840 | 1841 | char_u *sb_str = str; |
1841 | 1842 | int sb_col = msg_col; |
1842 | 1843 | int wrap; |
1844 | + int did_last_char; | |
1843 | 1845 | |
1844 | 1846 | did_wait_return = FALSE; |
1845 | 1847 | while ((maxlen < 0 || (int)(s - str) < maxlen) && *s != NUL) |
@@ -1909,7 +1911,10 @@ | ||
1909 | 1911 | else |
1910 | 1912 | #endif |
1911 | 1913 | msg_screen_putchar(*s++, attr); |
1914 | + did_last_char = TRUE; | |
1912 | 1915 | } |
1916 | + else | |
1917 | + did_last_char = FALSE; | |
1913 | 1918 | |
1914 | 1919 | if (p_more) |
1915 | 1920 | /* store text for scrolling back */ |
@@ -1944,11 +1949,7 @@ | ||
1944 | 1949 | |
1945 | 1950 | /* When we displayed a char in last column need to check if there |
1946 | 1951 | * is still more. */ |
1947 | - if (*s >= ' ' | |
1948 | -#ifdef FEAT_RIGHTLEFT | |
1949 | - && !cmdmsg_rl | |
1950 | -#endif | |
1951 | - ) | |
1952 | + if (did_last_char) | |
1952 | 1953 | continue; |
1953 | 1954 | } |
1954 | 1955 |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 96, | |
671 | +/**/ | |
670 | 672 | 95, |
671 | 673 | /**/ |
672 | 674 | 94, |