~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
1 year, 6 months ago
Updated
6 months ago
Labels
polish ui

~taiite 1 year, 5 months 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 1 year, 4 days ago

~taiite 10 months ago

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

~taiite 6 months 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 6 months ago

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