ckwin icon indicating copy to clipboard operation
ckwin copied to clipboard

\Kmouseurl launches the browser even when clicking on things that aren't URLs

Open davidrg opened this issue 2 years ago • 1 comments
trafficstars

\Kmouseurl needs to check if the thing under the mouse looks like a URL before launching the browser.

davidrg avatar Nov 29 '22 04:11 davidrg

Turns out its not a bug, its documented behaviour. From the Kermit 95 manual:

Whenever you see a URL in the Terminal or Command screen, you can Ctrl-click Button 1 on it to ask your Web browser to visit it. URLs that Kermit recognizes are highlighted so you can spot them easily. You can also Ctrl-click on non-highlighted text that your Browser might treat as a URL such as www.ibm.com.

This is behaviour probably fine for Ctrl+Click but it might be nice to have a Kverb that launches the browser only for valid URLs which would be fine to map to left-click where you would want clicking on non-URL things to do nothing.

davidrg avatar Dec 01 '22 08:12 davidrg