Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: "Cancel" menu selection & Co?
- X-seq: zsh-workers 11313
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
- To: Andrej Borsenkow <Andrej.Borsenkow@xxxxxxxxxxxxxx>, Zsh workers list <zsh-workers@xxxxxxxxxxxxxx>
- Subject: Re: "Cancel" menu selection & Co?
- Date: Wed, 10 May 2000 18:24:27 +0000
- In-reply-to: <Pine.SV4.4.20.0005102059260.13812-100000@xxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <Pine.SV4.4.20.0005102059260.13812-100000@xxxxxxxxxxxxxxxxxxxxx>
On May 10, 9:14pm, Andrej Borsenkow wrote:
} Subject: "Cancel" menu selection & Co?
}
} Currently, as soon as menu selection is started, there seems to be no way
} to cancel it - that is, revert input line to original state. The closest
} it, exit menu selection and hit Undo.
}
} Does anybody really use ^G to switch from menu selection to menu
} completion? I hardly see any point here. So, the suggestion is, to make ^G
} really cancel selection and revert line to it's original state (before
} match was inserted). This is also consistent behaviour for ^G, that
} normally cancels actions in other places.
I, too, would prefer this behavior.
} As a related (to me at least) question or request - is it possible to
} enter menu selection immediately if list does not fit on screen?
We discussed that, but I don't recall whether it's possible. The doc
for the `menu' style doesn't mention it.
} OTOH if menu selection can be quit with ^G it can be
} used as replacement for listing, but replacement that supports scrolling,
} paging, going back etc.
Listing already supports scrolling; set the LISTPROMPT parameter. There's
a list-prompt style, too.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author