Thomas Rast <trast@xxxxxxxxxxxxxxx> writes: > Demonstrate how to add Term::ReadKey functionality to the main add -i > prompt function list_and_choose(). > > Not really great because if several input choices share a common first > character, it prompts for the _rest_ of the line, meaning the choice > of the first character cannot be undone again. Hmm, you could trigger the action immediately after seeing _enough_ number of characters to disambiguate instead of stop-and-prompt, I guess? That way, you would get a single-key merely as a degenerate case when the choices are all distinct. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html