shellrhythm/shellrhythm-cli

Weird framebuffer issues after resizing.

TheNachoBIT opened this issue · 4 comments

Resizing the terminal can cause these kinds of issues.

imagen

This gets fixed when it goes from one entire window to another.

Fixed by clearing the screen every time the SIGWINCH signal is sent (aka the terminal is being resized), the only thing i need to fix is to add back the title screen logo once the screen has been cleared

Will be up next commit!

wait, i just realised the way i took it is not compatible with windows

dammit

Found a workaround by checking for terminal size every loop cycle on Windows

ok im stupid and forgot since sigwinch doesn't exist on Windows it just crashes bru