Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Right Clicking on a link in QTerminal makes "Open Link" and "Copy Link Address" Appear but go away #358
Here's a possible fix: https://github.com/lxde/qtermwidget/tree/wip/issue358 with https://github.com/lxde/qterminal/tree/wip/issue358. I don't think it's ready for a pull request...
The cause is: when the image (contents in the terminal) changes, all filter hotspots (e.g. recognized URLs) are deleted, and Open & Copy actions use filter objects as parents, so they are deleted, too.
The idea of my fix is: use the popu menu as parents of Open & Copy actions and defer deletion of filter objects. This is achieved by recording that a filter object is used by someone else (
My test case:
BTW, Konsole just don't allow me to right click a URL in NeoVim. I was trying to find an elegant solution there :(