summaryrefslogtreecommitdiff
path: root/runtime/doc/term.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-12-19 18:56:48 +0000
committerBram Moolenaar <Bram@vim.org>2022-12-19 18:56:48 +0000
commitafa3f1cc7258d34c32a299a3cc6aece89f67fb47 (patch)
treed04c7adb4f528f7eb27746e20225dbd8f504d406 /runtime/doc/term.txt
parent33e543038b84af7557ab9ecff500fc4ab98dd2a3 (diff)
downloadvim-git-afa3f1cc7258d34c32a299a3cc6aece89f67fb47.tar.gz
patch 9.0.1080: the "kitty" terminfo entry is not widespreadv9.0.1080
Problem: The "kitty" terminfo entry is not widespread, resulting in the kitty terminal not working properly. Solution: Go back to using "xterm-kitty" and avoid the problems it causes in another way.
Diffstat (limited to 'runtime/doc/term.txt')
-rw-r--r--runtime/doc/term.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt
index 50ba187ab..146ef478f 100644
--- a/runtime/doc/term.txt
+++ b/runtime/doc/term.txt
@@ -306,9 +306,14 @@ One of the problems is that the value for $TERM is set to "xterm-kitty". For
Vim this is an indication that the terminal is xterm-compatible and the
builtin xterm termcap entries should be used. Many other terminals depend on
this. However, Kitty is not fully xterm compatible. The author suggested to
-ignore the "xterm-" prefix and use the terminfo entry anyway, but that
-conflicts with what is needed for other terminals. Therefore Vim removes the
-"xterm-" prefix from "xterm-kitty" when it comes from $TERM.
+ignore the "xterm-" prefix and use the terminfo entry anyway, so that is what
+happens now, the builtin xterm termcap entries are not used. However, the
+t_RV is set, otherwise other things would not work, such as automatically
+setting 'ttymouse' to "sgr".
+
+It is not clear why kitty sets $TERM to "xterm-kitty", the terminal isn't
+really xterm compatible. "kitty" would be more appropriate, but a terminfo
+entry with that name is not widespread.
Note that using the kitty keyboard protocol is a separate feature, see
|kitty-keyboard-protocol|.