<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3392: Whitespace garbage in pager mode



#3392: Whitespace garbage in pager mode
----------------------------+-----------------------------------------------
 Reporter:  marcel          |       Owner:  mutt-dev
     Type:  defect          |      Status:  new     
 Priority:  major           |   Milestone:  1.6     
Component:  user interface  |     Version:  1.5.20  
 Keywords:                  |  
----------------------------+-----------------------------------------------
 Situation: mutt compiled with slang, running on OpenSolaris.

 When I switch from the index mode to pager mode in most cases the
 background is printed using spaces. It means that lines does
 not terminates with "\n", but they are full of spaces till end of
 the terminal line.

 When I use gnome-terminal with mutt and I want to copy and paste
 a message text (several lines) using mouse, I'll get all lines with
 additional spaces on the line ends.

 It seems the mutt_pager() function does not clear the screen before
 displayed leaving the screen full of spaces.

 As a workaround I found that the simple additional
 clearok(stdscr,TRUE); call in mutt_pager() fixes the issue for me.

 I am not sure whether this fix is correct or not, but in my case
 it works.

 For reference:
 http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6796795

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3392>
Mutt <http://www.mutt.org/>
The Mutt mail user agent