diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-01 15:48:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-01 15:48:05 +0200 |
commit | 4a6c670b844a3ef9aec865a8216eaf363bab8721 (patch) | |
tree | 0a4d60f8efe9b765678c76ef614dc84c815d1220 /src/gui.c | |
parent | 4c5717ed8a81f5ae9dfe4f38b17a61fc8421054b (diff) | |
download | vim-git-4a6c670b844a3ef9aec865a8216eaf363bab8721.tar.gz |
patch 7.4.1974v7.4.1974
Problem: GUI has a problem with some termcodes.
Solution: Handle negative numbers. (Kazunobu Kuriyama)
Diffstat (limited to 'src/gui.c')
-rw-r--r-- | src/gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1773,7 +1773,7 @@ gui_write( if (s[0] == ESC && s[1] == '|') { p = s + 2; - if (VIM_ISDIGIT(*p)) + if (VIM_ISDIGIT(*p) || (*p == '-' && VIM_ISDIGIT(*(p + 1)))) { arg1 = getdigits(&p); if (p > s + len) |