Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pasting inside a program inside zellij sometimes adds control-characters #856

Closed
jovandeginste opened this issue Nov 10, 2021 · 6 comments
Closed
Labels
compatibility Issues with VT/terminal compatibility suspected bug

Comments

@jovandeginste
Copy link

When pasting inside a program inside zellij, I (sometimes) get extra ANSI(?) control characters surrounding the pasted text.

Seen with ao. cat, hexdump, and annoyingly: pinentry-curses... (to unlock my GPG key)

Not with: vim, neovim, etc.

Basic information

zellij --version: zellij 0.20.0, default configuration
tput lines: 57
tput cols: 118
uname -av or ver(Windows): Linux xyz 4.18.0-305.25.1.el8_4.x86_64 #1 SMP Tue Nov 2 10:34:25 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux

List of programs you interact with as, PROGRAM --version:

  • cat (GNU coreutils) 8.30

Further information

Example, after copying somestring to my clipboard, using shift+insert to paste it:

echo somestring
somestring
➤ cat
^[[200~somestring^[[201~
somestring
@a-kenji a-kenji added the compatibility Issues with VT/terminal compatibility label Nov 10, 2021
@jovandeginste
Copy link
Author

FWIW, I see the same behaviour with different terminal emulators (gnome-terminal, tilix)

@imsnif
Copy link
Member

imsnif commented Nov 10, 2021

Hey, sorry about the experience! This was a regression that was caused by me sleep coding. It should be fixed in 0.20.1. I'm closing this issue for now, let me know if it persists.

@imsnif imsnif closed this as completed Nov 10, 2021
@jovandeginste
Copy link
Author

Don't sweat it, I'm still test driving this nice tool!

@hackerchai
Copy link

still exists in v0.21.0 on MacOS Monterey, when I paste something into zellij terminal

Basic Information
zellij --version: zellij 0.21.0, default configuration
tput lines: 33
tput cols: 119
uname -av: Darwin Hackerchai-MacBook-Pro.local 21.1.0 Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:23 PDT 2021; root:xnu-8019.41
.5~1/RELEASE_X86_64 x86_64

@imsnif
Copy link
Member

imsnif commented Dec 8, 2021

@hackerchai - this is fixed in main but we haven't released a version yet. I plan to release one tomorrow.

@imsnif
Copy link
Member

imsnif commented Dec 8, 2021

Actually, this specifically was a different issue, but there was a similar issue that's fixed in main and not released yet :D I'm guessing that's the one you're referring to. If you'd like to compile from main and give it a try to be sure that'd be cool, otherwise try and wait for the release and see then. If somehow this frankenstein issue comes back again, we'll sort it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compatibility Issues with VT/terminal compatibility suspected bug
Projects
None yet
Development

No branches or pull requests

4 participants