[konsole] [Bug 196998] Konsole should reflow the text when resizing
https://bugs.kde.org/show_bug.cgi?id=196998 --- Comment #32 from Dev Aggarwal --- (In reply to Egmont Koblinger from comment #28) > (In reply to Shawn Rutledge from comment #24) > > > What I would like is a checkbox to toggle between reflowing text, and having > > a horizontal scrollbar. > > For my basic thoughts on horizontal scrollbar see > https://bugzilla.gnome.org/show_bug.cgi?id=769440. In addition: your > model/view idea is a nice one and is implementable, but some apps will sure > seem to be quite broken or at least behave in ways it's hard to justify. > E.g. you press the Up arrow and expect the cursor to go up, whereas actually > it goes to the left by 80 columns (because it moved up in the model, but > it's flattened to the same row in the view). > > > If urxvt can wrap text in so little code, wrapping can't be that hard. > > urxvt only rewraps on resize if you've already reached a screenful of text > -- I have absolutely no idea what could have been the rationale behind that. > > In urxvt if you switch to the alternate screen (e.g. vim, mc), resize and > then quit, the contents will not be properly rewrapped. Gnome Terminal (VTE) > gets this right. > > I'm afraid there might easily be other issues with urxvt's rewrapping. I > haven't tested it any further than these, I'm just assuming this based on > seeing how complex it was to get it right, and seeing the just-mentioned > problems with urxvt as well as the ones I've mentioned earlier with > terminology. > > The amount of code and the complexity are not strongly correlated. In VTE I > implemented rewrapping with a reasonably small(ish) amount of code, but > trying to get all the details right it was one of the most complicated ones > I've ever written in my life. I have also experienced uvrxt not wrapping stuff properly with large amounts of text. -- You are receiving this mail because: You are watching all bug changes.
[konsole] [Bug 196998] Konsole should reflow the text when resizing
https://bugs.kde.org/show_bug.cgi?id=196998 --- Comment #31 from Dev Aggarwal --- (In reply to Egmont Koblinger from comment #28) > (In reply to Shawn Rutledge from comment #24) > > > What I would like is a checkbox to toggle between reflowing text, and having > > a horizontal scrollbar. > > For my basic thoughts on horizontal scrollbar see > https://bugzilla.gnome.org/show_bug.cgi?id=769440. In addition: your > model/view idea is a nice one and is implementable, but some apps will sure > seem to be quite broken or at least behave in ways it's hard to justify. > E.g. you press the Up arrow and expect the cursor to go up, whereas actually > it goes to the left by 80 columns (because it moved up in the model, but > it's flattened to the same row in the view). > > > If urxvt can wrap text in so little code, wrapping can't be that hard. > > urxvt only rewraps on resize if you've already reached a screenful of text > -- I have absolutely no idea what could have been the rationale behind that. > > In urxvt if you switch to the alternate screen (e.g. vim, mc), resize and > then quit, the contents will not be properly rewrapped. Gnome Terminal (VTE) > gets this right. > > I'm afraid there might easily be other issues with urxvt's rewrapping. I > haven't tested it any further than these, I'm just assuming this based on > seeing how complex it was to get it right, and seeing the just-mentioned > problems with urxvt as well as the ones I've mentioned earlier with > terminology. > > The amount of code and the complexity are not strongly correlated. In VTE I > implemented rewrapping with a reasonably small(ish) amount of code, but > trying to get all the details right it was one of the most complicated ones > I've ever written in my life. I have also experienced uvrxt not wrapping stuff properly with large amounts of text. -- You are receiving this mail because: You are watching all bug changes.
[konsole] [Bug 196998] Konsole should reflow the text when resizing
https://bugs.kde.org/show_bug.cgi?id=196998 Dev Aggarwal changed: What|Removed |Added CC||dev...@gmail.com --- Comment #30 from Dev Aggarwal --- (In reply to Egmont Koblinger from comment #26) > I've just found this, you might find useful (iTerm's author explains how > it's implemented): > https://gitlab.com/gnachman/iterm2/issues/3480 > > vte docs (or rather a dump of random thoughts :)) is at > https://git.gnome.org/browse/vte/tree/doc/rewrap.txt Interesting, the iTerm author seems really excited about this sort of thing. Would be great if we can have some sort of collaboration here. Having this is a real plus point for programmers working with large outputs. -- You are receiving this mail because: You are watching all bug changes.