1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2023-01-10 12:37:38 +00:00
parent 1b5f03ec9c
commit 06cd14d0bf
7 changed files with 48 additions and 7 deletions

View File

@@ -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);