~taiite/senpai#49: 
Multiline url don't work

If an URL is cropped on a line wrap, only the first line will be clickable and considered as an URL.

Status
RESOLVED IMPLEMENTED
Submitter
~nomeji
Assigned to
No-one
Submitted
4 years ago
Updated
3 years ago
Labels
polish ui

~taiite 4 years ago

We could trim the URL and use a term API to make them go to the right resource, however it is not implemented by tcell:

https://github.com/gdamore/tcell/issues/300

Another solution could be to implement a shortcut (like alt-l in weechat) that shows the timeline fullscreen, in log format, to allow the terminal to correctly see the URLs.

In the mean time, either use a URL shortener, or trim the URLs (eg. query parameters are often useless).

~taiite closed duplicate ticket #58 3 years ago

~taiite 3 years ago

emersion has a patch for tcell to support hyperlinks: https://github.com/gdamore/tcell/pull/468

~taiite 3 years ago

If someone wants to implement this, I've made a tag on my tcell fork with emersion's patch:

https://github.com/hhirtz/tcell/releases/tag/v2.3.11%2Bosc

~taiite REPORTED IMPLEMENTED 3 years ago

Register here or Log in to comment, or comment via email.