zellij icon indicating copy to clipboard operation
zellij copied to clipboard

foot's URL mode does not work with zellij, but does with tmux

Open cole-h opened this issue 3 years ago • 3 comments

In Case of Graphical or Performance Issues

N/A

Basic information

zellij --version: 0.31.4 stty size: 22 87 (but reproduced on a variety of sizes) uname -av or ver(Windows): Linux scadrial 5.15.70 #1-NixOS SMP Fri Sep 23 12:15:52 UTC 2022 x86_64 GNU/Linux

List of programs you interact with as, PROGRAM --version: output cropped meaningful, for example: foot --version: foot version: 1.13.1 +pgo +ime +graphemes -assertions (https://codeberg.org/dnkl/foot)

Further information

When there is a very long URL being displayed, it appears that zellij breaks the URL in a way that foot is unable to determine that the URL continues onto the next line:

image

Notice foot properly highlights the entire URL in tmux:

image

Let me know if I can help further.

cole-h avatar Oct 11 '22 22:10 cole-h

I think @tlinford (when he gets back) might have some context on this?

imsnif avatar Nov 02 '22 15:11 imsnif

I'm guessing foot does something similar to alacritty, and detects urls and makes them clickable? So what happens is that the text gets split (by frames, new lines, etc) and the detection breaks.

Not sure there is much that one can do about this.

tlinford avatar Nov 08 '22 14:11 tlinford

Not sure there is much that one can do about this.

It works in tmux, so there must be something that zellij can do: maybe it can avoid putting a newline when breaking the line when there is no pane borders, just allowing the line to warp normally.

orium avatar Jun 23 '24 18:06 orium

Thought I'd chime in to say that I'm having this issue with tmux within foot as well so it's probably not a zellij issue. I'd certainly love to know how to get it to work with tmux (but that's besides the point).

grtcdr avatar Jan 28 '25 17:01 grtcdr