-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapting to changed font size #220
Comments
hey, i don't think there's a way for You could trigger a redraw on font size change maybe? Does lf support that? |
I think |
I spent some time to investigate, Below are the steps to reproduce without involving
I also tested this on (a continuation of) the original |
It does? I think it recalculates terminal sizes on every command (calling ioctl) whilst |
That's my assumption based on what I found when I was trying to debug the issue myself. So just to confirm, are you or @jdujava able to reproduce the behavior I described above for both |
Yeah, I tried following your steps, and This is maybe more suited to mention in |
Just to clear up my previous message: |
eyyyy @seebye, nice seeing you, thanks for the tip @jdujava this issue has been solved on this repo: https://github.com/jstkdng/ueberzugpp-new, I'll see if I can implement SIGWINCH |
As described in gokcehan/lf#1793, I use
ueberzugpp
for image previews inlf
. After changing the font size,lf
outputs updated position and size of preview (measured in rows/columns), but the preview is displayed as if the font size was the original one, resulting in wrong position/sizing.Is there a way to update
ueberzugpp
about the change in font size?The text was updated successfully, but these errors were encountered: