Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to capture the tab completion result?
- X-seq: zsh-users 17814
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: How to capture the tab completion result?
- Date: Sun, 26 May 2013 16:10:28 -0700
- In-reply-to: <CAM8HBcV0+VEu6ef1JbAMOChKnD=zprtiEke1=6xTOB-EK1z6TQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CAM8HBcV0+VEu6ef1JbAMOChKnD=zprtiEke1=6xTOB-EK1z6TQ@mail.gmail.com>
On Saturday, May 25, 2013, Mario Signorino wrote:
> Hi all
>
> I need some help and possibly also an advice.
>
> I want is to surround the result of the tab-completion with a special
> not-printable chars.
This is not going to be straightforward, but have a look at Test/comptest
in the sources, which does a similar thing. It forces completion listings
and then "colors" them with markup that can be parsed. The characters it
uses aren't actually non-printing, but if your app is going to grab the
listing on its way to the terminal anyway, perhaps it can also strip the
markup.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author