From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7040 invoked by alias); 18 Jul 2015 12:05:34 -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: 35817 Received: (qmail 19485 invoked from network); 18 Jul 2015 12:05:33 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.0 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@zsh.org From: Yuri D'Elia Subject: Re: bracketed paste Date: Sat, 18 Jul 2015 14:05:10 +0200 Message-ID: References: <7277.1437023995@thecus.kiddle.eu> <150716131504.ZM18155@torch.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-ull-109-221.46-151.net24.it X-Enigmail-Draft-Status: N1110 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.0 In-Reply-To: <150716131504.ZM18155@torch.brasslantern.com> On 16/07/15 22:15, Bart Schaefer wrote: > There are a couple of features that might be useful if we could come up > with a way to do them. One would be an indication of whether bracketed > paste is supported at all, so that no one is taken by surprise when the > shell starts executing what they pasted. Another is some indication of > what text was pasted (maybe highlight-color it differently?). Is there a setting to highlight yanked text? If such a setting exists, I would respect it in order to make a bracketed paste equivalent to a regular paste. I'm partly in favor of stripping a final newline. Partly because you might still want that newline in a quote. In that sense, I still prefer let the user implement his own widget to control the paste behavior. Without stripping trailing whitespace itself before the newline you still won't notice. What makes you think that the command was sent is that the terminal scrolls upward and the cursor is on the last line, which looks empty. A newline followed by few spaces still tricks me.