Skip to content

anysize simple

bakkeby edited this page Jun 12, 2023 · 1 revision

The original anysize patch is fairly invasive and makes a lot of changes to the st code base.

Out of these changes there are only two lines that allow for the window to be resized to any size and that is setting the height and width increment size hints to 1.

The rest of the changes are all related to centering the terminal content within the window frame by distributing leftover pixels on the horizontal and vertical borders.

This has the wobbly side effect when resizing st windows diagonally.

This simple anysize version only applies the size hint changes which means that leftover pixels will remain on the right and bottom sides of the terminal.

Download

Clone this wiki locally