From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21445 invoked by alias); 25 Mar 2016 00:30:32 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21413 Received: (qmail 21010 invoked from network); 25 Mar 2016 00:30:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=nUoe74lwxBy7ehplkwKBx5ZHcMKYL6YgKdFVYc+mwtQ=; b=ir5Mnj8964Zhboc8HCUvfdpPBzdUfboHUVrt4hggwcLHnf5Stfc2uYGe9ZYZc63SDe lIvDUzJS43Y+2kINQDde62+Gk5l9chD55j+CvInRvVa8xssdjudZbIzRoWF2o0YZm7Uq p6KS3CZg0JOfYY3IJ9qfWqS7VpJ6U9KjMs+xE2D6gNnS73+8njQS5Mf+Qac9+Lg38Uy2 xpnZjBCNNMOvb7MEwh5hSSx551LdiPNt4xJ3l3i7BoKTF0lMwomyhOPwB144APkC5fRX RR6YQvOwla0ItyPjWnf3nvyWI1rWHka6/sDqeD0JplOO4JaOSIpyL6qKthwU5F3y+itY E/Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=nUoe74lwxBy7ehplkwKBx5ZHcMKYL6YgKdFVYc+mwtQ=; b=LaPTy4Il7qfOeHzfzZDYQorzZ03uzfyv1uCMO8wNXTmXy1b6JllGAWZj7AsoA1Cgy0 TLXp81JMvmvAoOQd9dmz1hfTuerXx79H791VphLpKdMmmTQr3YKShM6z6lI4x/CUZuVm rUMCD7TRZ+bDrnAKYP7nZGRQcRh8IvNQynmJSTVbWBChlTpnD4H5rJJ/ivYwG9GW4NZk Haipgn7drkR1NHMFAx4WUCOldj5to7WTtJqTyB6KxqQ40jfMkDvRiK6K3QQvxbrbMO0d iyMVdjFObJdoIVY0+FBiKeOXJWjPBJJ1k6MCDcSIMDKAzYnAPnIKjWgt7lZqOVT+MXY6 XrIw== X-Gm-Message-State: AD7BkJJ0tnClYDnXNDpTAUdibbld41mkhZu0aAW0qiSWZVfNonONFrNd9K0/vYpcFevruaN2UrB8fydYEypE8g== MIME-Version: 1.0 X-Received: by 10.28.109.4 with SMTP id i4mr33976578wmc.44.1458865405322; Thu, 24 Mar 2016 17:23:25 -0700 (PDT) In-Reply-To: References: <160323185356.ZM2458@torch.brasslantern.com> <20160324103837.678f2f36__45846.6877033517$1458816008$gmane$org@pwslap01u.europe.root.pri> <20160324182026.GA20669@chaz.gmail.com> Date: Thu, 24 Mar 2016 17:23:25 -0700 Message-ID: Subject: Re: End boldface also ends background color From: Bart Schaefer To: Mikael Magnusson Cc: Zsh Users Content-Type: text/plain; charset=UTF-8 On Thu, Mar 24, 2016 at 3:43 PM, Mikael Magnusson wrote: > > Using $fg from colors doesn't buy you anything over using the builtin > prompt sequences though. They also do not have an un-bold sequence. Strictly speaking, $fg doesn't have a simple bold sequence either -- you have to use e.g. $fg_bold[red] and $fg_no_bold[red], so if you stick to the intended model you do have un-bold. There is $bold_color but it's only thrown in there because of the comment about black and white being less than pure in some terminal color palettes. There aren't escape codes created by the colors function for standout, underline, faint, etc. either, but we could add e.g. $normal_color if that's the only issue.