Skip to content

Make --no-browser URL a clickable terminal hyperlink#134

Open
tiadobatima wants to merge 1 commit into
RiotGames:mainfrom
tiadobatima:main
Open

Make --no-browser URL a clickable terminal hyperlink#134
tiadobatima wants to merge 1 commit into
RiotGames:mainfrom
tiadobatima:main

Conversation

@tiadobatima

Copy link
Copy Markdown
Contributor

Wrap the login URL in an OSC 8 escape sequence so it's clickable in terminals that support it (tmux, iTerm2, kitty, etc.), which is handy in small tmux panes. Terminals without OSC 8 support ignore the escape and still show the plain URL.
Machine output is left untouched.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant