summaryrefslogtreecommitdiffstats
path: root/runtime/doc/options.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-21 09:12:23 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-21 09:12:23 +0000
commit6f79e614b25caebd35cf0d82b6f3b7e0733849ec (patch)
tree445fedcce235de72ac9f4e195eddbb060b58a296 /runtime/doc/options.txt
parent8d95d7091da08d0a236be4a16616e3dda388e58d (diff)
patch 8.2.3864: cannot disable requesting key codes from xtermv8.2.3864
Problem: Cannot disable requesting key codes from xterm. Solution: Add the 'xtermcodes' option, default on.
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r--runtime/doc/options.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index a5ff937e08..3e71ba14e5 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -9206,4 +9206,16 @@ A jump table for the options with a short description can be found at |Q_op|.
screen. When non-zero, characters are sent to the terminal one by
one. For debugging purposes.
+ *'xtermcodes'* *'noxtermcodes'*
+'xtermcodes' boolean (default on)
+ global
+ When detecting xterm patchlevel 141 or higher with the termresponse
+ mechanism and this option is set, Vim will request the actual termimal
+ key codes and number of colors from the terminal. This takes care of
+ various configuration options of the terminal that cannot be obtained
+ from the termlib/terminfo entry, see |xterm-codes|.
+ A side effect may be that t_Co changes and Vim will redraw the
+ display.
+
+
vim:tw=78:ts=8:noet:ft=help:norl: