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

[Mutt] #3102: mutt-1.5.18 loses first character typed in after suspend/resume



#3102: mutt-1.5.18 loses first character typed in after suspend/resume

 environment is mutt-1.5.18 on NetBSD 4.0 Intel.

 To reproduce:

 1. run mutt-1.5.18 on a regular mailbox

 2. view a message in the mailbox

 3. while the screen is showing the message, press Control-Z to suspend the
 session

 4. Resume the mutt session with the "fg" command

 5. Press a key that will do something, like "i" to go to the index.  That
 key is ignored.

 6. Press the key again.  It will be accepted and behave as expected.

 mutt-1.5.10 in the same environment does not have this problem.

 looking at ktrace output, it seems that the first character typed in
 always provokes a second
 screen redraw, which is invisible to the user since the screen was already
 redrawn when mutt resumed.

 this problem does not happen when mutt is in the index view.

 also reproduced in CVS snapshot from 20080812

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3102>