pushed
zhengqunkoo/fbpdf • 5:27 AM - Feb 23, 2020
This change updates printinfo() in fbpdf.c to query the current terminal width with ioctl(TIOCGWINSZ) and truncate the filename portion of the status line accordingly. Previously, long filenames could overflow the bottom status bar and push page or zoom information out of view. The result is a cleaner, more stable UI in constrained terminal sizes, especially when opening deeply nested or verbose file paths.