zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
21.63k stars 654 forks source link

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

Open cole-h opened 2 years ago

cole-h commented 2 years ago

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.

imsnif commented 2 years ago

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

tlinford commented 2 years ago

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.

orium commented 4 months ago

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.