summaryrefslogtreecommitdiff
path: root/src/term.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-04-04 22:41:10 +0200
committerBram Moolenaar <Bram@vim.org>2017-04-04 22:41:10 +0200
commitba6ec182973af726ce9b7b7eb3753fc3a7ae7d1b (patch)
treec9c7dfab4973c6e9319c93ecff6f40c1f0322509 /src/term.h
parenta1d5fa65bc7e8a548858e9c295a192b63dcd011b (diff)
downloadvim-git-ba6ec182973af726ce9b7b7eb3753fc3a7ae7d1b.tar.gz
patch 8.0.0543: test_edit causes older xfce4-terminal to closev8.0.0543
Problem: Test_edit causes older xfce4-terminal to close. (Dominique Pelle) Solution: Reduce number of columns to 2000. Try to restore the window position.
Diffstat (limited to 'src/term.h')
-rw-r--r--src/term.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/term.h b/src/term.h
index e67ed4f74..be01cb5ad 100644
--- a/src/term.h
+++ b/src/term.h
@@ -77,6 +77,7 @@ enum SpecialKey
KS_TS, /* set window title start (to status line)*/
KS_FS, /* set window title end (from status line) */
KS_CWP, /* set window position in pixels */
+ KS_CGP, /* get window position */
KS_CWS, /* set window size in characters */
KS_CRV, /* request version string */
KS_RBG, /* request background color */
@@ -163,7 +164,8 @@ extern char_u *(term_strings[]); /* current terminal strings */
#define T_CIE (TERM_STR(KS_CIE)) /* set icon text end */
#define T_TS (TERM_STR(KS_TS)) /* set window title start */
#define T_FS (TERM_STR(KS_FS)) /* set window title end */
-#define T_CWP (TERM_STR(KS_CWP)) /* window position */
+#define T_CWP (TERM_STR(KS_CWP)) /* set window position */
+#define T_CGP (TERM_STR(KS_CGP)) /* get window position */
#define T_CWS (TERM_STR(KS_CWS)) /* window size */
#define T_CSI (TERM_STR(KS_CSI)) /* start insert mode */
#define T_CEI (TERM_STR(KS_CEI)) /* end insert mode */