From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-workers-return-43764-ml=inbox.vuxu.org@zsh.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 588071db for ; Mon, 5 Nov 2018 14:36:33 +0000 (UTC) Received: (qmail 21376 invoked by alias); 5 Nov 2018 14:36:23 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 43764 Received: (qmail 6142 invoked by uid 1010); 5 Nov 2018 14:36:23 -0000 X-Qmail-Scanner-Diagnostics: from mail-ot1-f45.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.210.45):SA:0(-2.0/5.0):. Processed in 1.009551 secs); 05 Nov 2018 14:36:23 -0000 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ev5s44yjigygQfZJ8H+v7d0pZlrgADb/TTSTckW7llQ=; b=GKhXEdq881jGSYGzSg3VEVuZm7DM9Q7kH5SGTqUlubo7nIHjvr3JN173r1GLiZ+Qde nES3xhaE4oRUhxi3VVz3m3PjbZy9zB66eMCwbif1eo1ldhlUNiWw78BQS0siLfZbaKgn 65q8Yn3Oj3RUWamY7Y7O4XFU1fme6rzboWlce3O+mxNqVaijKYDMJVM6u19lzDx0tLUT qzdr5FdyV7sIfbwj9ToAHzWBm7mHXwhqZd5yF5klw2Zva3/S/Vl+UDyAQ2oBkZ8e6YMT XFOIaZ8h9dtd44W06wgGq+tXi3Ol3QDaKZx8959tz+QZHzbp4Itb+wMsolaoXCEm14bm v3yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ev5s44yjigygQfZJ8H+v7d0pZlrgADb/TTSTckW7llQ=; b=FM+t0YaKwcyEEIScGrGszzqsvLgarjWLPAQm6sBsPsZsvPYWqFs6H7pX19Vpwd9/aI UwYVgrkKv4cOOi+eN5Q6DQJWWL5lSKy4YU0PGeipQXvRUbZPqeaMPIsxYoIw+Pc5civJ ggPuYZ9y57bBSbAvkYzVKWauxE8kix9VMkHIwYoQvW5PKdeMYR8qCfSuOsKJfEnPA5Pt SrPtrFD70tyMe5237TgxjIXKefEtKD5kglADlLVLTL5zTrryTNKbWFEAVEyQp2dFkIpZ z04fiJdBamSnQkk2AI/rfh95OQ8wchXKFC+Uy/3SXWu8Rv74OFNSncpvWqBOZ+BzgPpE hEtw== X-Gm-Message-State: AGRZ1gK8B+0NrWlhWmgcmxBlVWAC6dd9ZIYS18EV/YyEhU3ofSqV3ypq YadAUQLpHljGgPHniSfhTziL36Fp23oGAHtrqAMAPiQI X-Google-Smtp-Source: AJdET5fIUlrRKXQo7/7cpmJNWH38CPmN3Vx2HnnTG6siR8N+bo9hswQKGNNmoFA8yAfSsPq90/5ivb7f2WeBC59JP3Q= X-Received: by 2002:a9d:3cae:: with SMTP id z43mr13826329otc.159.1541428579408; Mon, 05 Nov 2018 06:36:19 -0800 (PST) MIME-Version: 1.0 References: <58111-1540942908.680582@SXAw.BXd_.-x5N> <14759-1541295720.747208@yAOj.Gon2.-2mF> In-Reply-To: <14759-1541295720.747208@yAOj.Gon2.-2mF> From: Sebastian Gniazdowski Date: Mon, 5 Nov 2018 15:36:06 +0100 Message-ID: Subject: Re: PATCH: true colour support To: Oliver Kiddle Cc: Zsh hackers list Content-Type: text/plain; charset="UTF-8" On Sun, 4 Nov 2018 at 02:42, Oliver Kiddle wrote: > > This is a followup to the patch in 43747 to add support for generating > the escape sequences for terminals that support true colour. This works > with prompt escapes and zle_highlight/region_highlight but I'm not sure > about ZLS_COLOURS/list-colors because they use a different format. I've updated a F-Sy-H theme to use the color-value for region_highlight in form of hex-triplet, e.g.: : ${FAST_HIGHLIGHT_STYLES[x-paragon-tccommand]:=#7fa8c5} x-paragon-tc (-tc for truecolor) is a theme name, then goes the style name, `command', then the true-color value of the style. I've added debug prints to F-Sy-H, #7fa8c5 is really added to region highlight, but the array then comes up with a value: "0 4 none". What can be the reason, what to check for? > Oliver > > diff --git a/Src/Modules/nearcolor.c b/Src/Modules/nearcolor.c