Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: isearch match highlighting



On Tue, Apr 29, 2008 at 4:12 PM, Matt Wozniski <godlygeek@xxxxxxxxx> wrote:
> On Tue, Apr 29, 2008 at 1:10 PM, Peter Stephenson <pws@xxxxxxx> wrote:
>  >  I've just remembered I haven't documented the fact that only colours 0 to
>  >  255 are allowed internally.  I can't be bothered to remake the patch, so
>  >  I'll alter that before committing.  The numbers of supported colours
>  >  reported by a few terminals I tried are:
>  >
>  >  xterm: 8
>  >  rxvt-unicode: 88
>  >  konsole: 8
>  >  gnome-terminal: 8
>  >  Linux console: 8
>  >
>  >  so mostly just the ANSI set.  I did try the extended colours on
>  >  rxvt-unicode and they seemed to work.  I have a vague feeling I saw
>  >  a terminal claim to support 256.
>
>  xterm-256color: 256
>  screen-256color: 256
>
>  Both xterm and screen can be compiled with 256 color support.

Actually, FYI, gnome-terminal and konsole also support 256 colors;
TERM=gnome-256color and TERM=konsole-256color. Konsole, in fact,
supports all 24-bit colors through its own extended syntax (CSI 38 ; 2
; <rrr> ; <ggg> ; <bbb> m), though I don't know of any apps that use
it...  Though we could allow it here if we had the same "send this
string to start highlighting and this string to end" sort of thing
like we can do in prompts...

~Matt



Messages sorted by: Reverse Date, Date, Thread, Author