#3930: 979f1e669c16 wrecked the sort prompt
----------------------+----------------------
Reporter: chdiza | Owner: mutt-dev
Type: defect | Status: new
Priority: major | Milestone:
Component: display | Version:
Resolution: | Keywords:
----------------------+----------------------
Comment (by chdiza):
I actually agree with kevin8t8 that the parentheses are easier to read
than unhighlighted capitals, but I think that this benefit is outweighed
by the niceness of a <=80 char prompt.
As for parentheses versus highlighted capitals, my gut tells me that
parentheses are better than highlighting but not by a big enough margin to
overcome the 80 char concern. (Mutt is mono unless one sets up colors, so
highlighted capitals aren't going to show up unless the user takes
explicit measures to make them show up. New users out of the box are
going still going to see unhighlighted capitals, and new users are mainly
the ones who need the prompt, before muscle-memory takes over.)
That said, I am not at all opposed to making the relevant elements of a
prompt question be colorable. What will the name of the "object" be? I
suggest one of the following:
{{{
color prompt_item yellow black
color prompt_option yellow black
color prompt_choice yellow black
}}}
Maybe without underscores, since none of the other colorable options have
underscores or dashes.
I wonder also whether it might be best to scrap color and instead let "?"
display the full-screen list of choices, like how it shows all your
keybindings in the index. Then the prompt could just list the single
characters one has to choose from. E.g.,
{{{
Sort by d/f/r/s/p/o/t/u/z/c/p/l (hit '?' for a description of the
choices):
}}}
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3930#comment:3>
Mutt <http://www.mutt.org/>
The Mutt mail user agent