From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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,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 042540b4 for ; Fri, 29 Nov 2019 17:23:53 +0000 (UTC) Received: (qmail 26363 invoked by alias); 29 Nov 2019 17:23:46 -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: 44953 Received: (qmail 22919 invoked by uid 1010); 29 Nov 2019 17:23:46 -0000 X-Qmail-Scanner-Diagnostics: from mx1.cock.li by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.0/25642. spamassassin: 3.4.2. Clear:RC:0(185.10.68.5):SA:0(-1.9/5.0):. Processed in 0.867147 secs); 29 Nov 2019 17:23:46 -0000 X-Envelope-From: zsugabubus@national.shitposting.agency X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at national.shitposting.agency designates 185.10.68.5 as permitted sender) Date: Fri, 29 Nov 2019 18:23:03 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=national.shitposting.agency; s=mail; t=1575048191; bh=dXx5+NMcIjJR5V1FayxmPZqHMUJK1JTZKPXBR0DRgAw=; h=Date:From:To:Subject:References:In-Reply-To:From; b=aSPbOJtwrPJZ0ae0tiyRxkeAIVT5y2QTEFxTh5wqy20w+X4St4ye7lg44or0bxsOz tJa+6p/EXJn+dNODUyn7wmAKV5AjJ9zY3oBCknQBfe0QuIyRZRaY2QMn+2zvW97B8M a/Bxj3taX1lWcfzQqFyKhxW+q0RlJauvgFo1w09MiCLo9P9ciWQIMzVjYfoJ8yjSp+ 6/wKGupiehyHtS1POHmhtzN3isoC/q4kabyxbk1LKw8MKTiDl9NnmC2wyKZQLK9oln N0WiG7KJQZtSaSJbGgbGySojrhwnp+Q1EVIo9Eba/ZmBTYdBEUGsm9wHC7iLmZFwnl JhpRoAOWSXNgA== From: zsugabubus To: zsh-workers@zsh.org Subject: Re: Funky list-colors Message-ID: <20191129172303.sd5bj3gukhdb7mpp@localhost> References: <20191129122141.rekf7hcxtacjojo2@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: > > I'm not completely sure if it's a bug or I am trying to do something > > illegal with `list-colors`/`LS_COLORS`. > > > > The latter :-) Though the name clearly states that these are “colors”, but why this artificial limitation? Width measuring happens at the prompts too, so as a layman, couldn't the same logic be used here? (Or a simplified one, assuming that only graphical escape codes are used.) I really would like it to work and I'm gladly implement this if you say yes (and help me a bit pointing out things).