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 49396
- From: Christopher Stead <crstead@xxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Bug report: Pasting content overwrites the current line and duplicates the text
- Date: Wed, 08 Sep 2021 09:31:27 +0000
- Archived-at: <https://zsh.org/workers/49396>
- In-reply-to: <CAN=4vMqwEX1jaHKHnb+u_woEkMEnfP+aD_5NXmb_+n-eXm9cpw@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <eFNSi0037CiLRIvUaVcx_1v3VdJmyCRr8dGDhlpdruTkDROyOtUlUcUBIfy4vhKNsxecAsjjp-yTeqrXZNODBpUvOHDZ5tiz4GPLt7M484k=@pm.me> <CAN=4vMqwEX1jaHKHnb+u_woEkMEnfP+aD_5NXmb_+n-eXm9cpw@mail.gmail.com>
- Reply-to: Christopher Stead <crstead@xxxxx>
> What do you get if you execute the following command?
>
> typeset -p TERM
I get the expected output: export TERM=xterm-256color
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, September 8th, 2021 at 8:56 PM, Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx> wrote:
> 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