From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23345 invoked by alias); 22 Feb 2015 17:22:56 -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: 19885 Received: (qmail 1533 invoked from network); 22 Feb 2015 17:22:53 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,BODY_URI_ONLY, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=X+5rdgje c=1 sm=1 tr=0 a=2VOmuY/DTsTYmU+TN/zbfg==:117 a=2VOmuY/DTsTYmU+TN/zbfg==:17 a=VNsaWKQvMhEA:10 a=N659UExz7-8A:10 a=pGLkceISAAAA:8 a=ed8Kvi1ZkHvpp79F01cA:9 a=pILNOxqGKmIA:10 a=IPZJZEL1UM4A:10 a=jF9IMRmMekMA:10 a=A1iuIN_9JW4A:10 Message-id: <54EA095E.6060402@eastlink.ca> Date: Sun, 22 Feb 2015 08:52:46 -0800 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.4.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: Re: ANSI bg colour outside of prompt area References: <20150222132310.GA18377@wintermute> In-reply-to: <20150222132310.GA18377@wintermute> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 02/22/2015 05:23 AM, junkcommander0@gmail.com wrote: > > > In zsh, the background color gets reset once the characters have been > printed. > ex: > kecho -ne "\033[1;33;43m abcdefg" > > That's interesting, zsh is so different from bash there. One of the guys will have an answer for you if there is one. Just off hand tho, bash seems more correct--the default colors should not be restored unless you restore them explicitly, I'd say.