Skip to content

Conversation

The0Show
Copy link

@The0Show The0Show commented Oct 13, 2025

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 The0Show requested a review from a team as a code owner October 13, 2025 05:32
Copy link
Member

@qreeves qreeves left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor code style issues. No objections to other commands added.

BREAKING CHANGE: `/open_url` is now `/openurl`
`/set_clipboard` is now `/setclipboard`
@The0Show
Copy link
Author

Updated the initial comment with new command names.

@The0Show The0Show requested a review from qreeves October 13, 2025 19:33
@The0Show
Copy link
Author

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

@qreeves
Copy link
Member

qreeves commented Oct 14, 2025

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants