patch 9.1.0863: getcellpixels() can be further improved
Problem: getcellpixels() can be further improved
Solution: improve it further, add more tests
(mikoto2000)
closes: #16047
Signed-off-by: mikoto2000 <mikoto2000@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
0acd3abfad
commit
de094dcd6f
@ -1,4 +1,4 @@
|
||||
*builtin.txt* For Vim version 9.1. Last change: 2024 Nov 11
|
||||
*builtin.txt* For Vim version 9.1. Last change: 2024 Nov 14
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -3790,10 +3790,10 @@ getbufvar({buf}, {varname} [, {def}]) *getbufvar()*
|
||||
getcellpixels() *getcellpixels()*
|
||||
Returns a |List| of terminal cell pixel size.
|
||||
List format is [xpixels, ypixels].
|
||||
Only works on Unix. For gVim and on other systems,
|
||||
returns [-1, -1].
|
||||
Only works on (terminal) Unix. For gVim, on other systems and
|
||||
on failure returns [].
|
||||
|
||||
Return type: list<Number>
|
||||
Return type: list<any>
|
||||
|
||||
|
||||
getcellwidths() *getcellwidths()*
|
||||
|
||||
Reference in New Issue
Block a user