comparison runtime/doc/options.txt @ 31672:9dc48932db8e v9.0.1168

patch 9.0.1168: code to enable/disable mouse is not from terminfo/termcap Commit: https://github.com/vim/vim/commit/06cd14d0bf990d0002d61a721aa3d5b8a3c44028 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 10 12:37:38 2023 +0000 patch 9.0.1168: code to enable/disable mouse is not from terminfo/termcap Problem: Code to enable/disable mouse is not from terminfo/termcap. Solution: Request the "XM" entry and use it to set 'ttymouse' if possible.
author Bram Moolenaar <Bram@vim.org>
date Tue, 10 Jan 2023 13:45:04 +0100
parents 5ed19049b1e8
children cc751d944b7e
comparison
equal deleted inserted replaced
31671:5ed19049b1e8 31672:9dc48932db8e
8677 with them). 8677 with them).
8678 This option is automatically set to "xterm", when the 'term' option is 8678 This option is automatically set to "xterm", when the 'term' option is
8679 set to a name that starts with "xterm", "mlterm", "screen", "tmux", 8679 set to a name that starts with "xterm", "mlterm", "screen", "tmux",
8680 "st" (full match only), "st-" or "stterm", and 'ttymouse' is not set 8680 "st" (full match only), "st-" or "stterm", and 'ttymouse' is not set
8681 already. 8681 already.
8682 If the terminfo/termcap entry "XM" exists and the first number is
8683 "1006" then 'ttymouse' will be set to "sgr". This works for many
8684 modern terminals.
8682 Additionally, if vim is compiled with the |+termresponse| feature and 8685 Additionally, if vim is compiled with the |+termresponse| feature and
8683 |t_RV| is set to the escape sequence to request the xterm version 8686 |t_RV| is set to the escape sequence to request the xterm version
8684 number, more intelligent detection is done. 8687 number, more intelligent detection is done.
8685 The "xterm2" value will be set if the xterm version is reported to be 8688 The "xterm2" value will be set if the xterm version is reported to be
8686 from 95 to 276. The "sgr" value will be set if Vim detects Mac 8689 from 95 to 276. The "sgr" value will be set if Vim detects Mac