Skip to content

[BUG] text selection very slow with large output #877

@markus-wa

Description

@markus-wa

In Case of Graphical or Performance Issues

Please attach the files that were created in /tmp/zellij-1000/zellij-log/ to the extent you are comfortable with.

zellij-debug.tar.gz

Basic information

zellij --version: 20.1
tput lines: 51
tput cols: 104
uname -av or ver(Windows):

Linux mark-ThinkPad-X1-Extreme-2nd 5.11.0-40-generic #44~20.04.2-Ubuntu SMP Tue Oct 26 18:07:44 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

List of programs you interact with as, PROGRAM --version:
happens in both alacritty and gnome-terminal - neither of them has this issue when not using zellij
alacritty --version: alacritty 0.9.0
gnome-terminal --version: # GNOME Terminal 3.36.2 using VTE 0.60.3 +BIDI +GNUTLS +ICU +SYSTEMD

Further information

$ zellij
$ while :; do; tr -dc A-Za-z0-9 </dev/urandom | head -c 200 ; echo ''; done
wait a while
CTRL+C

select some text - it will be very slow

another quicker way to repro is usually just a simple rg a as it's not as slow as generating random data - but that would have included sensitive stuff in the debug log

$ zellij
$ rg a
CTRL+C

select some text - it will be very slow

it gets really bad at around 50k lines

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions