gotty icon indicating copy to clipboard operation
gotty copied to clipboard

Fix printing ipv6 with brackets

Open Felixoid opened this issue 6 years ago • 1 comments

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/

Felixoid avatar Dec 30 '19 12:12 Felixoid

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

sorenisanerd avatar Apr 11 '21 05:04 sorenisanerd