Re: [PATCH] Highlight keyboard shortcuts in git-add--interactive
- From
Jeff King <peff@peff.net>
- Date
- Nov 21, 2007, 15:28 UTC
- Message-ID
- <20071121152817.GA27144@sigill.intra.peff.net>
- In-Reply-To
- <1195655278-19535-1-git-send-email-win@wincent.com>
On Wed, Nov 21, 2007 at 03:27:58PM +0100, Wincent Colaiuta wrote:
Show 10 quoted lines
> The user interface provided by the command loop in git-add--interactive > gives the impression that subcommands can only be launched by entering > an integer identifier from 1 through 8. > > A "hidden" feature is that any string can be entered, and an anchored > regex search is used to find the first matching option. > > This patch makes this feature a little more obvious by highlighting the > first character of each subcommand (for example "patch" is displayed as > "[p]atch"). The mechanism for doing this is to add an optional third
I think this is reasonable. It is also a candidate for colorization in Dan Zwell's patches. Dan, any progress on the next revision of the patch series?
-Peff