Mercurial > vim
comparison src/proto/term.pro @ 18135:1868ec23360e v8.1.2062
patch 8.1.2062: the mouse code is spread out
Commit: https://github.com/vim/vim/commit/b20b9e14ddd8db111e886ad0494e15b955159426
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 21 20:48:04 2019 +0200
patch 8.1.2062: the mouse code is spread out
Problem: The mouse code is spread out.
Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan,
closes #4959)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 Sep 2019 21:00:07 +0200 |
parents | 0f7ae8010787 |
children | 0ec6521e9d80 |
comparison
equal
deleted
inserted
replaced
18134:c06a2bc8144f | 18135:1868ec23360e |
---|---|
1 /* term.c */ | 1 /* term.c */ |
2 guicolor_T termgui_get_color(char_u *name); | 2 guicolor_T termgui_get_color(char_u *name); |
3 guicolor_T termgui_mch_get_rgb(guicolor_T color); | 3 guicolor_T termgui_mch_get_rgb(guicolor_T color); |
4 int set_termname(char_u *term); | 4 int set_termname(char_u *term); |
5 void set_mouse_termcode(int n, char_u *s); | |
6 void del_mouse_termcode(int n); | |
7 void getlinecol(long *cp, long *rp); | 5 void getlinecol(long *cp, long *rp); |
8 int add_termcap_entry(char_u *name, int force); | 6 int add_termcap_entry(char_u *name, int force); |
9 int term_is_8bit(char_u *name); | 7 int term_is_8bit(char_u *name); |
10 int term_is_gui(char_u *name); | 8 int term_is_gui(char_u *name); |
11 char_u *tltoa(unsigned long i); | 9 char_u *tltoa(unsigned long i); |
45 void stoptermcap(void); | 43 void stoptermcap(void); |
46 void may_req_termresponse(void); | 44 void may_req_termresponse(void); |
47 void may_req_ambiguous_char_width(void); | 45 void may_req_ambiguous_char_width(void); |
48 void may_req_bg_color(void); | 46 void may_req_bg_color(void); |
49 int swapping_screen(void); | 47 int swapping_screen(void); |
50 void setmouse(void); | |
51 int mouse_has(int c); | |
52 int mouse_model_popup(void); | |
53 void scroll_start(void); | 48 void scroll_start(void); |
54 void cursor_on_force(void); | 49 void cursor_on_force(void); |
55 void cursor_on(void); | 50 void cursor_on(void); |
56 void cursor_off(void); | 51 void cursor_off(void); |
57 void term_cursor_mode(int forced); | 52 void term_cursor_mode(int forced); |
62 void scroll_region_reset(void); | 57 void scroll_region_reset(void); |
63 void clear_termcodes(void); | 58 void clear_termcodes(void); |
64 void add_termcode(char_u *name, char_u *string, int flags); | 59 void add_termcode(char_u *name, char_u *string, int flags); |
65 char_u *find_termcode(char_u *name); | 60 char_u *find_termcode(char_u *name); |
66 char_u *get_termcode(int i); | 61 char_u *get_termcode(int i); |
62 void del_termcode(char_u *name); | |
67 void set_mouse_topline(win_T *wp); | 63 void set_mouse_topline(win_T *wp); |
68 int check_termcode(int max_offset, char_u *buf, int bufsize, int *buflen); | 64 int check_termcode(int max_offset, char_u *buf, int bufsize, int *buflen); |
69 void term_get_fg_color(char_u *r, char_u *g, char_u *b); | 65 void term_get_fg_color(char_u *r, char_u *g, char_u *b); |
70 void term_get_bg_color(char_u *r, char_u *g, char_u *b); | 66 void term_get_bg_color(char_u *r, char_u *g, char_u *b); |
71 char_u *replace_termcodes(char_u *from, char_u **bufp, int from_part, int do_lt, int special); | 67 char_u *replace_termcodes(char_u *from, char_u **bufp, int from_part, int do_lt, int special); |