diff options
author | Bram Moolenaar <bram@vim.org> | 2015-06-27 18:34:24 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2015-06-27 18:34:24 +0200 |
commit | fd1f3d33d44b3f5a2a71bd3cb04f5df62908d677 (patch) | |
tree | bd08ca19aa9c53dfb77dc32ed93043b1d8ee1f9b | |
parent | 8b2c4b06ca0a1382f9410a645b0a011c26c80adc (diff) | |
download | vim-fd1f3d33d44b3f5a2a71bd3cb04f5df62908d677.tar.gz |
Problem: Comment for may_req_bg_color() is wrong. (Christ van Willegen)
Solution: Rewrite the comment.
-rw-r--r-- | src/term.c | 9 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 7 deletions
@@ -3409,13 +3409,8 @@ may_req_ambiguous_char_width() #if defined(FEAT_TERMRESPONSE) || defined(PROTO) /* - * Check how the terminal treats ambiguous character width (UAX #11). - * First, we move the cursor to (1, 0) and print a test ambiguous character - * \u25bd (WHITE DOWN-POINTING TRIANGLE) and query current cursor position. - * If the terminal treats \u25bd as single width, the position is (1, 1), - * or if it is treated as double width, that will be (1, 2). - * This function has the side effect that changes cursor position, so - * it must be called immediately after entering termcap mode. + * Similar to requesting the version string: Request the terminal background + * color when it is the right moment. */ void may_req_bg_color() diff --git a/src/version.c b/src/version.c index bd6b117a..9c2d836a 100644 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 762, +/**/ 761, /**/ 760, |