diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-14 19:49:15 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-14 19:49:15 +0000 |
commit | 24dc19cdb2ce7cda2156d3b2eca6aee552b097dc (patch) | |
tree | 46fca39a61693d29966c0de9623146ab3859a0b4 /src/evalfunc.c | |
parent | 161b6ac04f257ab17779e9ba6f5b3e3e15d2a0fd (diff) |
patch 9.0.0881: cannot get the currently showing mouse shapev9.0.0881
Problem: Cannot get the currently showing mouse shape.
Solution: Add getmouseshape().
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 4c9ee4cd8d..310fa784e0 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -1983,6 +1983,8 @@ static funcentry_T global_functions[] = ret_list_dict_any, f_getmatches}, {"getmousepos", 0, 0, 0, NULL, ret_dict_number, f_getmousepos}, + {"getmouseshape", 0, 0, 0, NULL, + ret_string, f_getmouseshape}, {"getpid", 0, 0, 0, NULL, ret_number, f_getpid}, {"getpos", 1, 1, FEARG_1, arg1_string, |