Terminal fills new line with background color when scrolling up #19747
Replies: 3 comments 2 replies
|
It breaks any scenario in which you actually want the background semi-permanently set to a different color. As one example, imagine a scrolling game where the background color is something other than the default. It may change as you progress between zones, but you're always going to want it scrolling with the active background color. To get an idea of what I mean, paste something like this in powershell: Then press enter a few times until the screen starts to scroll. If the background color erase wasn't in effect, you'd suddenly find your background color changing back to the default as soon as the viewport started to scroll. Nobody is disputing that there are scenarios when this behavior is not ideal, but that's precisely what the |
|
There was a discussion over in #10556 about this as well. To quote James Holderness (@j4james) (though I recommend reading through the rest of the thread; it has a similar trajectory to this one!)
The linked gnome-terminal bug has some fascinating discussion in it as well... including this snippet (from Egmont Koblinger) indicating a thing that did actually break in production.
|
|
I've added a list of past historical discussions to the description of this discussion. The source of the issues being discussed is crystal clear, and a solution has been found that provides a workaround for previously unavoidable issues. Thank you all. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Past discussions (discussions I didn't know about when I opened this thread)
Context #19736 (comment)
This is a continuation of the discussion #19736
Following this rule will result in random side effects when displaying text with the specified background.
Example:
At this point, it's clear what side effects arise from following this rule and I'd like to discuss here what "breaks" in the terminal world if this rule is not followed—not implicitly filling the entire new line at the bottom of the viewport when scrolling text up during line feed.
All reactions