Mercurial > vim
diff src/testdir/test_functions.vim @ 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 | c12069d28719 |
children | db09821e1372 |
line wrap: on
line diff
--- a/src/testdir/test_functions.vim +++ b/src/testdir/test_functions.vim @@ -2890,6 +2890,12 @@ func Test_getmousepos() bwipe! endfunc +func Test_getmouseshape() + CheckFeature mouseshape + + call assert_equal('arrow', getmouseshape()) +endfunc + " Test for glob() func Test_glob() call assert_equal('', glob(test_null_string()))