comparison src/proto/misc2.pro @ 31093:004aee2845d2 v9.0.0881

patch 9.0.0881: cannot get the currently showing mouse shape Commit: https://github.com/vim/vim/commit/24dc19cdb2ce7cda2156d3b2eca6aee552b097dc Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 14 19:49:15 2022 +0000 patch 9.0.0881: cannot get the currently showing mouse shape Problem: Cannot get the currently showing mouse shape. Solution: Add getmouseshape().
author Bram Moolenaar <Bram@vim.org>
date Mon, 14 Nov 2022 21:00:05 +0100
parents aa44d5842d6c
children cc0c4141fb73
comparison
equal deleted inserted replaced
31092:190e4f52a0b0 31093:004aee2845d2
1 /* misc2.c */ 1 /* misc2.c */
2 int virtual_active(void); 2 int virtual_active(void);
3 int getviscol(void); 3 int getviscol(void);
4 int coladvance_force(colnr_T wcol); 4 int coladvance_force(colnr_T wcol);
5 int getviscol2(colnr_T col, colnr_T coladd); 5 int getviscol2(colnr_T col, colnr_T coladd);
6 int coladvance(colnr_T wcol); 6 int coladvance(colnr_T wantcol);
7 int getvpos(pos_T *pos, colnr_T wcol); 7 int getvpos(pos_T *pos, colnr_T wantcol);
8 int inc_cursor(void); 8 int inc_cursor(void);
9 int inc(pos_T *lp); 9 int inc(pos_T *lp);
10 int incl(pos_T *lp); 10 int incl(pos_T *lp);
11 int dec_cursor(void); 11 int dec_cursor(void);
12 int dec(pos_T *lp); 12 int dec(pos_T *lp);
45 int vim_chdirfile(char_u *fname, char *trigger_autocmd); 45 int vim_chdirfile(char_u *fname, char *trigger_autocmd);
46 int vim_stat(const char *name, stat_T *stp); 46 int vim_stat(const char *name, stat_T *stp);
47 char *parse_shape_opt(int what); 47 char *parse_shape_opt(int what);
48 int get_shape_idx(int mouse); 48 int get_shape_idx(int mouse);
49 void update_mouseshape(int shape_idx); 49 void update_mouseshape(int shape_idx);
50 void f_getmouseshape(typval_T *argvars, typval_T *rettv);
50 int vim_chdir(char_u *new_dir); 51 int vim_chdir(char_u *new_dir);
51 int get_user_name(char_u *buf, int len); 52 int get_user_name(char_u *buf, int len);
52 void free_username(void); 53 void free_username(void);
53 int filewritable(char_u *fname); 54 int filewritable(char_u *fname);
54 int get2c(FILE *fd); 55 int get2c(FILE *fd);