Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix printing ipv6 with brackets #273

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Felixoid
Copy link

It was fixed in #42, but is broken now. This PR prints ipv6 in the format, which can be opened in a browser:

>±> ./gotty zsh
2019/12/30 13:54:18 GoTTY is starting with command: zsh
2019/12/30 13:54:18 HTTP server is listening at: http://[::]:8080/
2019/12/30 13:54:18 Alternative URL: http://127.0.0.1:8080/
2019/12/30 13:54:18 Alternative URL: http://[::1]:8080/
2019/12/30 13:54:18 Alternative URL: http://[fe80::2ba1:dd5e:2dd9:9d75]:8080/
2019/12/30 13:54:18 Alternative URL: http://172.0.0.207:8080/
2019/12/30 13:54:18 Alternative URL: http://[fe80::f81d:ef8:fea5:f9f5]:8080/

@sorenisanerd
Copy link

Cool!
Merged at https://github.com/sorenisanerd/gotty

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.

2 participants