91861 / wayst

A simple terminal emulator
MIT License
287 stars 9 forks source link

Certain font sizes ignore last bottom column #29

Closed shoober420 closed 4 years ago

shoober420 commented 4 years ago

When changing the font size in terminal with the Ctrl+Shift+equals key, the last bottom column will be unused. I tested with cmus audio player. 90A93A33-6F61-43EA-97CC-D4330AD8B34F

91861 commented 4 years ago

It will draw only as many rows/columns as it can fully fit inside the window. In the picture the cursor is one or two pixels taller than the empty space below it.

It looks a bit strange, because most other terminal emulators either only allow resizing the window to certain sizes (multiples of line height and character width) or center the image, creating a smaller gap on both window borders. It should be easy to add something like this.

shoober420 commented 4 years ago

In case it helps with debugging, font sizes 13, 20, 27, and 35 appear to make use of the last column properly.