Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug report: Pasting content overwrites the current line and duplicates the text
- X-seq: zsh-workers 49395
- From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- To: Christopher Stead <crstead@xxxxx>
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Bug report: Pasting content overwrites the current line and duplicates the text
- Date: Wed, 8 Sep 2021 10:56:41 +0200
- Archived-at: <https://zsh.org/workers/49395>
- In-reply-to: <eFNSi0037CiLRIvUaVcx_1v3VdJmyCRr8dGDhlpdruTkDROyOtUlUcUBIfy4vhKNsxecAsjjp-yTeqrXZNODBpUvOHDZ5tiz4GPLt7M484k=@pm.me>
- List-id: <zsh-workers.zsh.org>
- References: <eFNSi0037CiLRIvUaVcx_1v3VdJmyCRr8dGDhlpdruTkDROyOtUlUcUBIfy4vhKNsxecAsjjp-yTeqrXZNODBpUvOHDZ5tiz4GPLt7M484k=@pm.me>
On Wed, Sep 8, 2021 at 12:58 AM Christopher Stead <crstead@xxxxx> 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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author