#3835: [PATCH] Pager doesn't respect window boundaries
---------------------+----------------------
Reporter: flatcap | Owner: mutt-dev
Type: defect | Status: new
Priority: minor | Milestone:
Component: display | Version: 1.6.0
Keywords: patch |
---------------------+----------------------
Two places in mutt_pager() use
{{{
addch ('\n');
}}}
which wipes to the end of the line.
If the pager window doesn't fill the full width of the screen, this code
can overwrite other windows.
The two occurrences have been replaced with:
{{{
mutt_window_clrtoeol (pager_window);
}}}
With the patch, both ncurses and slang work correctly.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3835>
Mutt <http://www.mutt.org/>
The Mutt mail user agent