From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
To: Christopher Stead <crstead@pm.me>
Cc: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: Bug report: Pasting content overwrites the current line and duplicates the text
Date: Wed, 8 Sep 2021 10:56:41 +0200 [thread overview]
Message-ID: <CAN=4vMqwEX1jaHKHnb+u_woEkMEnfP+aD_5NXmb_+n-eXm9cpw@mail.gmail.com> (raw)
In-Reply-To: <eFNSi0037CiLRIvUaVcx_1v3VdJmyCRr8dGDhlpdruTkDROyOtUlUcUBIfy4vhKNsxecAsjjp-yTeqrXZNODBpUvOHDZ5tiz4GPLt7M484k=@pm.me>
On Wed, Sep 8, 2021 at 12:58 AM Christopher Stead <crstead@pm.me> wrote:
>
> Pasting text into the terminal results in the current line between
> wiped and replaced with the copied contents duplicated.
> 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.
This usually happens when the value of TERM environment variable is
incorrect. What do you get if you execute the following command?
typeset -p TERM
In Windows Terminal and GNOME Terminal the correct output is this:
export TERM=xterm-256color
If you are getting any other output, that's the problem.
Roman.
next prev parent reply other threads:[~2021-09-08 8:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-07 22:58 Christopher Stead
2021-09-07 23:16 ` Bart Schaefer
2021-09-08 8:56 ` Roman Perepelitsa [this message]
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='CAN=4vMqwEX1jaHKHnb+u_woEkMEnfP+aD_5NXmb_+n-eXm9cpw@mail.gmail.com' \
--to=roman.perepelitsa@gmail.com \
--cc=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).