mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.1.0854: cannot get terminal cell size
Problem: cannot get terminal cell size Solution: add getcellpixels() function to return xpixel * ypixel cell size on terminal Unix (mikoto2000) closes: #16004 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
6fbf63de86
commit
1083cae709
@@ -488,3 +488,9 @@ int mch_rename(const char *src, const char *dest);
|
||||
|
||||
// We have three kinds of ACL support.
|
||||
#define HAVE_ACL (HAVE_POSIX_ACL || HAVE_SOLARIS_ACL || HAVE_AIX_ACL)
|
||||
|
||||
struct cellsize {
|
||||
unsigned int cs_xpixel;
|
||||
unsigned int cs_ypixel;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user