Mercurial > vim
comparison src/term.h @ 10640:27be410d6d29 v8.0.0210
patch 8.0.0210: no support for bracketed paste
commit https://github.com/vim/vim/commit/ec2da36ca48b40c0654b32a8d2c9f52e796daa5e
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 21 20:04:22 2017 +0100
patch 8.0.0210: no support for bracketed paste
Problem: Vim does not support bracketed paste, as implemented by xterm and
other terminals.
Solution: Add t_BE, t_BD, t_PS and t_PE.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 21 Jan 2017 20:15:04 +0100 |
parents | 4aead6a9b7a9 |
children | 501f46f7644c |
comparison
equal
deleted
inserted
replaced
10639:9b3141c5aa1b | 10640:27be410d6d29 |
---|---|
87 KS_CSV, /* scroll region vertical */ | 87 KS_CSV, /* scroll region vertical */ |
88 #endif | 88 #endif |
89 KS_OP, /* original color pair */ | 89 KS_OP, /* original color pair */ |
90 KS_U7, /* request cursor position */ | 90 KS_U7, /* request cursor position */ |
91 KS_8F, /* set foreground color (RGB) */ | 91 KS_8F, /* set foreground color (RGB) */ |
92 KS_8B /* set background color (RGB) */ | 92 KS_8B, /* set background color (RGB) */ |
93 KS_CBE, /* enable bracketed paste mode */ | |
94 KS_CBD, /* disable bracketed paste mode */ | |
95 KS_CPS, /* start of brackted paste */ | |
96 KS_CPE /* end of brackted paste */ | |
93 }; | 97 }; |
94 | 98 |
95 #define KS_LAST KS_8B | 99 #define KS_LAST KS_CPE |
96 | 100 |
97 /* | 101 /* |
98 * the terminal capabilities are stored in this array | 102 * the terminal capabilities are stored in this array |
99 * IMPORTANT: When making changes, note the following: | 103 * IMPORTANT: When making changes, note the following: |
100 * - there should be an entry for each code in the builtin termcaps | 104 * - there should be an entry for each code in the builtin termcaps |
168 #define T_RBG (term_str(KS_RBG)) /* request background RGB */ | 172 #define T_RBG (term_str(KS_RBG)) /* request background RGB */ |
169 #define T_OP (term_str(KS_OP)) /* original color pair */ | 173 #define T_OP (term_str(KS_OP)) /* original color pair */ |
170 #define T_U7 (term_str(KS_U7)) /* request cursor position */ | 174 #define T_U7 (term_str(KS_U7)) /* request cursor position */ |
171 #define T_8F (term_str(KS_8F)) /* set foreground color (RGB) */ | 175 #define T_8F (term_str(KS_8F)) /* set foreground color (RGB) */ |
172 #define T_8B (term_str(KS_8B)) /* set background color (RGB) */ | 176 #define T_8B (term_str(KS_8B)) /* set background color (RGB) */ |
177 #define T_BE (term_str(KS_CBE)) /* enable bracketed paste mode */ | |
178 #define T_BD (term_str(KS_CBD)) /* disable bracketed paste mode */ | |
179 #define T_PS (term_str(KS_CPS)) /* start of bracketed paste */ | |
180 #define T_PE (term_str(KS_CPE)) /* end of bracketed paste */ | |
173 | 181 |
174 #define TMODE_COOK 0 /* terminal mode for external cmds and Ex mode */ | 182 #define TMODE_COOK 0 /* terminal mode for external cmds and Ex mode */ |
175 #define TMODE_SLEEP 1 /* terminal mode for sleeping (cooked but no echo) */ | 183 #define TMODE_SLEEP 1 /* terminal mode for sleeping (cooked but no echo) */ |
176 #define TMODE_RAW 2 /* terminal mode for Normal and Insert mode */ | 184 #define TMODE_RAW 2 /* terminal mode for Normal and Insert mode */ |