Mercurial > vim
diff src/proto/term.pro @ 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 | e94571ac4134 |
children | 161ae1985d81 |
line wrap: on
line diff
--- a/src/proto/term.pro +++ b/src/proto/term.pro @@ -25,6 +25,7 @@ void term_windgoto(int row, int col); void term_cursor_right(int i); void term_append_lines(int line_count); void term_delete_lines(int line_count); +void term_enable_mouse(int enable); void term_set_winpos(int x, int y); int term_get_winpos(int *x, int *y, varnumber_T timeout); void term_set_winsize(int height, int width);