-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
If your window size isn’t a multiple of the block size, you end up with a bit of waste space on the bottom and/or right edges of your window.
Currently Alacritty draws your background colour there, but that might not be the best thing to draw there.
As an extreme example, take this white-on-black terminal currently rendering a black-on-white Vim theme:
That black band on the right is ugly. 🙁
What if it took on the background colour of the last block in the column or row, and looked like this instead:
As a subtlety, you could choose to draw the full style of the last character which would get you an underline in the first row, from the X character, but it’s probably harmless either way. Though maybe invert would actually be significant. I dunno, I haven’t thought this through completely.
This could be a mildly risky thing to do, but I think it would achieve a good result almost all of the time.
(I thought of this when planning out hypothetical video streaming, deciding to size my windows exactly and capture client area only, for optimally crisp effect, and then realising that doing it that way I’d get the black band—so I tried filling in the right edge in OBS Studio manually, which kinda works so long as it’s completely consistent. On reflection, this sort of issue has bothered me in various terminal emulators for many years.)

