Skip to content

Display hyperlinks on search/upgrade table result#238

Open
artiga033 wants to merge 3 commits intovn971:masterfrom
artiga033:feat/show-hyperlinks
Open

Display hyperlinks on search/upgrade table result#238
artiga033 wants to merge 3 commits intovn971:masterfrom
artiga033:feat/show-hyperlinks

Conversation

@artiga033
Copy link
Copy Markdown

@artiga033 artiga033 commented Sep 9, 2025

For terminals that support OSC 8,-VTE%20and%20iTerm2), display a hyperlink to the AUR webpage for users to quickly browser package detail, latest comments, etc..

This PR also switches the table format implmentation from prettytable-rs to cli-table. The former hasn't been actively maintained. Most importantly, it cannot align cells with ANSI escapes properly( this problem always exists, so does it currenly with the bolded search text. Now with a url string attached. this problem gets even more obvious so I switch the implmentation).

Demo(in Windows Terminal) before: image after(the dotted-underlines are clickable and opens the aur web page of the package): image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant