zsh-workers
 help / color / mirror / code / Atom feed
From: Christopher Stead <crstead@pm.me>
To: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Bug report: Pasting content overwrites the current line and duplicates the text
Date: Tue, 07 Sep 2021 22:58:21 +0000	[thread overview]
Message-ID: <eFNSi0037CiLRIvUaVcx_1v3VdJmyCRr8dGDhlpdruTkDROyOtUlUcUBIfy4vhKNsxecAsjjp-yTeqrXZNODBpUvOHDZ5tiz4GPLt7M484k=@pm.me> (raw)

[-- Attachment #1: Type: text/plain, Size: 969 bytes --]

Hi, I [read here](https://zsh.sourceforge.io/FAQ/zshfaq06.html#l62) that bug reports should go to this address. If this is incorrect, please direct me elsewhere.

Tested using Zsh version 5.8

IssuePasting text into the terminal results in the current line between wiped and replaced with the copied contents duplicated.

Scenario:

- Let's say the current terminal line looks like this:
~/work ❯ this is the current line

- I copy the word "current" and paste at the end of the line (with a space).

- Instead of ending up with:
~/work ❯ this is the current line current

I end up with this instead:
~/work ❯ currentcurrent

Causes
I have so far figured out that the following two commands cause this issue:

- set -a
- set -o allexport

I have tried this on two separate Zsh installations, one using Ubuntu in Windows Terminal, the other on an Ubuntu OS terminal - both to same effect.

If any further information is needed, please let me know.

Regards,

Chris

[-- Attachment #2: Type: text/html, Size: 1699 bytes --]

             reply	other threads:[~2021-09-07 22:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-07 22:58 Christopher Stead [this message]
2021-09-07 23:16 ` Bart Schaefer
2021-09-08  8:56 ` Roman Perepelitsa
2021-09-08  9:31   ` Christopher Stead

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='eFNSi0037CiLRIvUaVcx_1v3VdJmyCRr8dGDhlpdruTkDROyOtUlUcUBIfy4vhKNsxecAsjjp-yTeqrXZNODBpUvOHDZ5tiz4GPLt7M484k=@pm.me' \
    --to=crstead@pm.me \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).