summaryrefslogtreecommitdiff
path: root/src/term.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-03-13 19:29:28 +0100
committerBram Moolenaar <Bram@vim.org>2013-03-13 19:29:28 +0100
commit9584b31aae31d8b031243eab75e26fbaa1755a1f (patch)
tree61c43cbac481a5bc910ccc7b2a55a4be3757fe6b /src/term.h
parenta390bb6ad307115c5893788f8f7e1ba5576800e0 (diff)
downloadvim-git-9584b31aae31d8b031243eab75e26fbaa1755a1f.tar.gz
updated for version 7.3.859v7.3.859
Problem: 'ambiwidth' must be set by the user. Solution: Detects East Asian ambiguous width (UAX #11) state of the terminal at the start-up time and 'ambiwidth' accordingly. (Hayaki Saito)
Diffstat (limited to 'src/term.h')
-rw-r--r--src/term.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/term.h b/src/term.h
index cc9f8ac9f..22b60b133 100644
--- a/src/term.h
+++ b/src/term.h
@@ -83,10 +83,11 @@ enum SpecialKey
#ifdef FEAT_VERTSPLIT
KS_CSV, /* scroll region vertical */
#endif
- KS_OP /* original color pair */
+ KS_OP, /* original color pair */
+ KS_U7 /* request cursor position */
};
-#define KS_LAST KS_OP
+#define KS_LAST KS_U7
/*
* the terminal capabilities are stored in this array
@@ -158,6 +159,7 @@ extern char_u *(term_strings[]); /* current terminal strings */
#define T_CEI (term_str(KS_CEI)) /* end insert mode */
#define T_CRV (term_str(KS_CRV)) /* request version string */
#define T_OP (term_str(KS_OP)) /* original color pair */
+#define T_U7 (term_str(KS_U7)) /* request cursor position */
#define TMODE_COOK 0 /* terminal mode for external cmds and Ex mode */
#define TMODE_SLEEP 1 /* terminal mode for sleeping (cooked but no echo) */