base icon indicating copy to clipboard operation
base copied to clipboard

Add ability to open URLs

Open The0Show opened this issue 3 months ago • 3 comments

Implements #1673 Tested on Arch Linux w/ KDE

Adds the /openurl <s> command, which opens the given URL in the user's default browser. The command checks if the string begins with http:// or https://, and does nothing if the check fails.

Changes proposed in this request:

  • /openurl <s>
  • /gameui_open_link <s>
  • /setclipboard <s>

The UI and clipboard parts of this pull request are not necessary and can be removed if desired.

It's probably also important to note that no parts of the game's UI actually use these commands yet, they just exist in the console for now :)

Screenshot_20251013_001146

The0Show avatar Oct 13 '25 05:10 The0Show

Updated the initial comment with new command names.

The0Show avatar Oct 13 '25 17:10 The0Show

I just realized I forgot to request a new review, sorry!

The0Show avatar Oct 13 '25 19:10 The0Show

Looks good to me, will merge with the next sweep.

qreeves avatar Oct 14 '25 03:10 qreeves