#3928: long line in body + backward scrolling breaks coloring ---------------------+---------------------- Reporter: vinc17 | Owner: mutt-dev Type: defect | Status: new Priority: major | Milestone: Component: display | Version: 1.8.0 Keywords: | ---------------------+---------------------- When a part of a long line (multiple lines in the terminal) in the body is obtained from backward scrolling, it may be colored incorrectly: with the default color instead of the "normal" color.
I'm going to attach a test case: * a mailbox file with 1 message, which contains some text (so that the long line must not be visible immediately), a long line, a short line (to check that it appears correctly) and a line to search (see below); * a muttrc file that sets the "normal" color to a non-default one (text in red). To reproduce the bug, e.g. in a 80x40 terminal (other terminal sizes can be used, but the terminal must not be too large): 1. {{{mutt -R -F muttrc -f mbox}}} 2. Type {{{<enter>}}} to view the message. 3. Type {{{/zzz<enter>}}} to search for zzz (this is the last line of the message). 4. Type {{{<backspace>}}} several times to scroll backward. One can see that the short line {{{blah blah}}} before zzz is colored in red as expected. But the long line that is just before (whose end only is visible) appears in the default terminal color, not in red. This line appears in red only when its beginning is reached. -- Ticket URL: <https://dev.mutt.org/trac/ticket/3928> Mutt <http://www.mutt.org/> The Mutt mail user agent