ckampfe / russ

A TUI RSS reader with vim-like controls and a local-first, offline-first focus
GNU Affero General Public License v3.0
173 stars 18 forks source link

Add shortcut for opening urls in entry #23

Open nthnd opened 1 year ago

nthnd commented 1 year ago

Pressing u from within an Entry view will now show a navigable list of urls extracted from that entry which can either be copied or opened in a browser with the c and o hotkeys.

fixes #21

ckampfe commented 1 year ago

@nate-sys thank you for the patch! I will give this a try as soon as I can.

HenkVanMaanen commented 1 year ago

Nice work nate-sys!

Just a remark, is this the way to go or is the OSC 8 terminal code the way to go? Like foot and other terminals already have this functionality build in. The program would only have to emit the urls in a specific format.

nthnd commented 1 year ago

@HenkVanMaanen I was not aware of OSC 8. What you suggested is a good idea. I'll look into it. As far is the way to go? I'll let the maintainers decide that 😅.

ckampfe commented 10 months ago

Thank you @nate-sys . Would you be able to post a screen recording and/or screenshot of this functionality? I usually use something like https://www.cockos.com/licecap/