diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-01-10 12:37:38 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-01-10 12:37:38 +0000 |
commit | 06cd14d0bf990d0002d61a721aa3d5b8a3c44028 (patch) | |
tree | b36b89cc127cf2e952238f530c7c3053dc868658 /runtime/doc | |
parent | 1b5f03ec9c5551047d5de8d845541dd3201abe7c (diff) | |
download | vim-git-06cd14d0bf990d0002d61a721aa3d5b8a3c44028.tar.gz |
patch 9.0.1168: code to enable/disable mouse is not from terminfo/termcapv9.0.1168
Problem: Code to enable/disable mouse is not from terminfo/termcap.
Solution: Request the "XM" entry and use it to set 'ttymouse' if possible.
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/options.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index a514b6f28..0fc00b4fb 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -8679,6 +8679,9 @@ A jump table for the options with a short description can be found at |Q_op|. set to a name that starts with "xterm", "mlterm", "screen", "tmux", "st" (full match only), "st-" or "stterm", and 'ttymouse' is not set already. + If the terminfo/termcap entry "XM" exists and the first number is + "1006" then 'ttymouse' will be set to "sgr". This works for many + modern terminals. Additionally, if vim is compiled with the |+termresponse| feature and |t_RV| is set to the escape sequence to request the xterm version number, more intelligent detection is done. |