
How to get size of the terminal?
MHDtA-dev opened this issue ยท 3 comments
There is no possible ways to get count of lines or columns in the terminal of the computer. tput
doesn't work, stty size
doesn't work, variables $LINES
and $COLUMNS
also doesn't work. I tried to get the size in c by using ioctl, but it returns zero. I Can't make any programs for this mod because terminal size is important information for me.
Added in 8798f95