Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
31671:5ed19049b1e8 | 31672:9dc48932db8e |
---|---|
23 void out_str(char_u *s); | 23 void out_str(char_u *s); |
24 void term_windgoto(int row, int col); | 24 void term_windgoto(int row, int col); |
25 void term_cursor_right(int i); | 25 void term_cursor_right(int i); |
26 void term_append_lines(int line_count); | 26 void term_append_lines(int line_count); |
27 void term_delete_lines(int line_count); | 27 void term_delete_lines(int line_count); |
28 void term_enable_mouse(int enable); | |
28 void term_set_winpos(int x, int y); | 29 void term_set_winpos(int x, int y); |
29 int term_get_winpos(int *x, int *y, varnumber_T timeout); | 30 int term_get_winpos(int *x, int *y, varnumber_T timeout); |
30 void term_set_winsize(int height, int width); | 31 void term_set_winsize(int height, int width); |
31 void term_fg_color(int n); | 32 void term_fg_color(int n); |
32 void term_bg_color(int n); | 33 void term_bg_color(int n); |