-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Apply scrollback reflow patch ? #345
Comments
How is this any different from the current functionality? |
Okay. Yeah I'll try to add it, but looks like there are a bunch of little incompatibilities with other patches I or someone else will have to figure our first. I'll get to it if I can. |
Yep, many incompatibilities indeed. At first I was willing to submit a PR but I gave up when I saw the amount of lines in the rejected diff. Ended up doing my own fork of st, which I'm pretty sure saved me some time. Even for you I wonder if it wouldn't be faster to reapply all your patches from scratch using a clean base of st 0.9. Many of the fixes you have here on this repo are probably also fixed upstream and some others are now available as patches (such as glyph_wide_support). Anyway, good luck to anyone reading this and willing to put in the effort |
The main issue is probably getting this, boxdraw and ligatures all to work in one place. I'll try to repatch from scratch, but I think it will have to grapple with this same problem. |
I feel like the boxdraw patch is not worth it if you're already using a "good" font. I use Fantasque Sans Mono for my terminal, and it looks pretty much the same with and without boxdraw. At least the difference is not noticeable enough to me to add boxdraw. I added NotoSansMono as comparison, it doesn't render well indeed. It's up to you of course but for me I choose to rely on Fantasque Sans Mono instead of messing up my code even more using boxdraw. Maybe you should consider getting rid of it. NotoSansMono font on my fork of st, without boxdraw (pretty ugly I agree) : NotoSansMono font on your fork of st, with boxdraw : Fantasque Sans Mono on my fork of st, without boxdraw (pretty good right?) : Fantasque Sans Mono on your fork of st, with boxdraw : |
Yeah it's not that bad. I had added boxdraw from public outcry, but if it's either or, I might go with this instead due to the wider functionality. |
The original redraw patch that was mentioned was suggested in the st-flexipatch repository but never added because it is so massive and conflicts with a lot of patches. There is a much smaller patch that achieves nearly the same functionality. See this patch. I have this in my own build and it works great! Only functionality this version seems to miss is reflow for the top, but text does seem to redraw for example when you're changing mfact in dwm. This version written by nimaipatel does not include scrollback but it can be applied on top of scrollback without issues!
Patch boxdraw first and apply the boxdraw version of ligatures on top. The only difference between the original diff and the boxdraw specific diff is
|
Hey, thanks for your work ! Love the custom dmenu stuff. Would you mind applying the scrollback reflow patch ?
Very useful when you resize windows or switch to fullscreen.
Take care
The text was updated successfully, but these errors were encountered: