From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23016 invoked by alias); 15 Dec 2013 13:41:07 -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: X-Seq: 32115 Received: (qmail 22792 invoked from network); 15 Dec 2013 13:40:52 -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=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_PASS autolearn=ham version=3.3.2 X-AuditID: cbfec7f4-b7fc96d000006cd4-5b-52adaf06c55b Date: Sun, 15 Dec 2013 13:30:45 +0000 From: Peter Stephenson To: zsh-workers@zsh.org Subject: Re: Bug report Message-id: <20131215133045.2c9c64d0@pwslap01u.europe.root.pri> In-reply-to: <131214171514.ZM25883@torch.brasslantern.com> References: <9CB4226B-47EE-44FA-8F8F-01DF4CB5154D@gmail.com> <131214110830.ZM18442@torch.brasslantern.com> <20131214204319.2a04428f@pws-pc.ntlworld.com> <131214171514.ZM25883@torch.brasslantern.com> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplluLIzCtJLcpLzFFi42I5/e/4ZV229WuDDJrnaFgcbH7I5MDoserg B6YAxigum5TUnMyy1CJ9uwSujCu9n1kLvrBWnPm7n7mB8SpLFyMHh4SAicTWH1pdjJxAppjE hXvr2boYuTiEBJYySlzoO8IM4SxnkthxeD8TSBWLgKrE2qOHmEFsNgFDiambZjOC2CIC4hJn 155nAbGFgew906+zg9i8AvYSp5+0sYLYnAJWElM7l7NDDD0DtOHhM7AifgF9iat/PzFBnGEv MfPKGUaIZkGJH5PvgQ1lFtCS2LytiRXClpfYvOYt8wRGgVlIymYhKZuFpGwBI/MqRtHU0uSC 4qT0XEO94sTc4tK8dL3k/NxNjJAg/LKDcfExq0OMAhyMSjy8Emxrg4RYE8uKK3MPMUpwMCuJ 8K6QBwrxpiRWVqUW5ccXleakFh9iZOLglGpg5Cmp2ld3seTRdtUJgock+6I3qUfc412TI6cl sE/+QZ/91LRH2oH5/woO59U3NXBKpSSumHDh8OwlEcfs4lYafKpd8OytRfHtLT4HBWeIfY95 NFfRVv16VBTD4Zf7cp/9Eo9YYbNo8SWdP2s369x1UV5tZXr1lwpDLA+z0o4FmUUHZUSvqx1b psRSnJFoqMVcVJwIAJDUsV8gAgAA On Sat, 14 Dec 2013 17:15:13 -0800 Bart Schaefer wrote: > Cursor is now one full space to the right of the "_". So whatever moves > the cursor "back" to PS1 after drawing RPS1 still calculates as if the > right-indent is always 1. If I set ZLE_RPROMPT_INDENT to a value larger > than the number of characters in $PS1 but smaller than $COLUMNS, the > cursor actually moves up to the line above, which I can't really show > with cut-and-paste. > > It appears that if you want to make this offset different from 1, you > are going to have to change countprompt() to include the offset in the > width of the prompt rather than just fiddle with math in the output code. I guess this is Patrick's fix to vcs? pws