Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: command line highlighting
- X-seq: zsh-workers 24790
- From: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- To: "Zsh hackers list" <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: command line highlighting
- Date: Fri, 4 Apr 2008 11:13:51 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Xlbf1Yw9r5KWx4v71hBoDvVTLjIdfZmVoVzgPt3axJI=; b=n5s3GNQy8IuzhS8onVbNvOIKGmxqxUfARApF+MerZ2+OMWKAnKKWFUZpAldvKp+oEjc+C+fv5ssynmPCmyliw5NnUBXb6b+2GU4G0MBIdUdH8aQ4waD6+0xX8O3TefUyGVeF1k6S3kMPTtxRMWwNWEbUAL8lpFw5DHVE2QsvrWc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jaJuXTlQc+LB6irEsFyfjhGggFGjuO/pMFRwFUmyHBL7O0nEKG5d5DUeQK9uE4hfLB9ZTJSgy4U0VCg8VF9yZLe6w9elfrSngA59I2ZbH1cIKrLB/H+UeAwD4HgDb9AzKk24TpTE7hghPtHmtB3r/NDPymN7bqsvP7vJa6pPzxI=
- In-reply-to: <8360.1207165155@pws-pc>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <8360.1207165155@pws-pc>
On 02/04/2008, Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx> wrote:
> Now 4.3.6 is out of the way, here's something I've been working on. It
> highlights the normal command line (not a completion list) in three
> ways:
+item(tt(special))(
+Individual characters that have no direct printable
+representation but are shown in a special manner by the line editor.
+These characters are described below.)
+enditem()
It appears a newline is needed between the . and the ), or the output becomes:
These characters are described below..'
same for these parts
`tt(^)' followed by the base character.)
on the operating system.)
The region hilighting acts a bit odd for me, if I type 'hello' press
ctrl-space and go left, everything appears fine until the cursor
reaches the "e", at this point the "h" is also hilighted. Tried in
urxvt and xterm, with zsh -f, with the same result. Going back and
forth seems to leave some characters hilighted too.
Other than that, this seems really nice. :)
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author