zellij-org / zellij

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

When a link is longer than terminal windows, it makes the part of the link returned to line/on the second line unhyperlink/unclickable #3436

Open ginolegigot opened 1 week ago

ginolegigot commented 1 week ago

Hello!

  1. Issues with the Zellij UI / behavior / crash

Basic information

zellij --version: 0.40.1

stty size: 34 83

uname -av or ver(Windows): Linux G7163 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Further information

Reproduction steps, noticeable behavior, related issues, etc

2. Issues with the Zellij UI / behavior / crash

Issue description

when the terminal windows size is too small compared to the length of a link, the part of the link after the line return becomes unclickable

Minimal reproduction

Turn a terminal on (i tried gnome terminal and wezterm), turn zellij on, use a very long (even factice) link as long as it is longer than the windows length. Try to click on the hyperlink, it will only click on the first part of the link example: image On this example only the first part of the link is clickable as an hyperlink vs image When the size of the terminal windows matches or is bigger than the link length, it works great