Closed darxtrix closed 7 years ago
@darxtrix getTerminalSize()
measures the terminal size in characters, but drawille has 4x2 pixel for each character. That's why the line's width in the screenshot is exactly the half of your terminal's width.
Multiply the width by 2 and the height by 4 and it will produce the desired output.
Thanks a ton, I did a bit digging into code and find the same workaround.
My terminal size is 202*62 but drawille is drawing a line in half of the terminal, why so ?