Ticket #2638 (new defect)

Opened 2 years ago

Last modified 2 years ago

mutt + external pager displays hidden prompt

Reported by: muttbug@… Owned by: mutt-dev
Priority: minor Milestone:
Component: mutt Version:
Keywords: Cc: muttbug@…

Description

When using external pager of any type, Mutt provides a faulty key command prompt before redisplaying the index. This happens even when 'set wait_key=no'. It appears to be debugging code that should not visible to the user.

>How-To-Repeat:
When using an external pager, such as 'set pager=gnuclient', mutt will display a prompt after the pager exits, rather than displaying the index list. The prompt appears as follows (with a blank, black terminal) as soon as the pager application exits.

    Command:

Pressing '?' at this prompt will sent the key command help for index mode (not pager mode) to the external pager. Pressing arrow keys will return mutt to the index mode.

The only case where the index appears to return automatically without extra key strokes is when viewing the index help by pressing '?' from within the index mode. The help is sent to the pager, the prompt 'Command: ' is display, and then the index reappears (without need for extra key presses).
>Fix:
Unknown

Change History

Changed 2 years ago by Kyle Wheeler <kyle-mutt-dev@…>

On Thursday, December 21 at 02:35 PM, quoth muttbug@tstotts.net:
> When using external pager of any type, Mutt provides a faulty key 
> command prompt before redisplaying the index. This happens even when 
> 'set wait_key=no'. It appears to be debugging code that should not 
> visible to the user.

Eh?

>>How-To-Repeat:
> When using an external pager, such as 'set pager=gnuclient', mutt 
> will display a prompt after the pager exits, rather than displaying 
> the index list. The prompt appears as follows (with a blank, black 
> terminal) as soon as the pager application exits.
>
>    Command:

You are describing the correct behavior for when $prompt_after is set. 
Add the following to your muttrc to change this behavior:

    unset prompt_after

~Kyle
-- 
One of the penalties for refusing to participate in politics is that 
you end up being governed by your inferiors.
                                                              -- Plato

--tsOsTdHNUZQcU9Ye
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iD8DBQFFkMvSBkIOoMqOI14RAhEBAKDLchf9cdrmPijpaGmgZ+DgrvO+pQCg8XsF
e+APaU+jXJ5IJh/HtWDbbpc=G2Df
-----END PGP SIGNATURE-----

--tsOsTdHNUZQcU9Ye--
Note: See TracTickets for help on using tickets.