updated for version 7.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)
diff --git a/src/term.h b/src/term.h
index cc9f8ac..22b60b1 100644
--- a/src/term.h
+++ b/src/term.h
@@ -83,10 +83,11 @@
#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 @@
#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) */