cfyzium / bearlibterminal

Interface library for applications with text-based console-like output
Other
117 stars 18 forks source link

Respond to window resize by changing scaling instead of virtual terminal rows/columns? #14

Open HunterZ opened 2 years ago

HunterZ commented 2 years ago

This is sort of an inverse of #5.

I like that BearLibTerminal preserves the virtual terminal row/column dimensions and just scales the screen bilinearly when I press alt+enter. I would like it to be able to do the same thing in windowed mode when the user resizes the window.

I guess the workaround might be to use a bitmap font, but it's odd that the windowed and fullscreen behaviors with regular text rendering are fundamentally different.

HunterZ commented 2 years ago

Oh, apparently another workaround is to resize the text font in windowed mode via alt-plus/alt-minus key combinations. I guess this is good enough - I would just need to capture it in documentation.