From 1eec3cbbc2da95e116e70ab3911766886e499988 Mon Sep 17 00:00:00 2001 From: tjp Date: Wed, 3 Jan 2024 19:05:21 -0700 Subject: about, and unlicense --- actions.go | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'actions.go') diff --git a/actions.go b/actions.go index afb8289..c2dd934 100644 --- a/actions.go +++ b/actions.go @@ -37,6 +37,40 @@ var ( ErrInvalidTourArgs = errors.New("tour what?") ) +func About(state *BrowserState) error { + _, err := fmt.Println(` + ... + *=:::. + ---======- -+-..... + .#@@@@@@@= .+=-:....:++ + +@@@@@@@@# :-::.. ...*+ + :%@@@@@@@@@. =*+++==:.... + .*@@@@@@@@@@= -#%###**++-:.. + -@@@@@@@@@@@% .::-=*#@@#*#@@@@@@@%-. + ..:::----=====++#@@@@@@@@@@@@%%%@@@@@@@@@@%%#**@@@@@@@= + .-+#%%@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@- + =*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@##%@@*%@@@@@@@@@@- .. + -+*. .#@@@@@@@@@@@@@@@@@@@@@@@@@@@%@@@@@@%%%%###- =- .=.==----==--:... +...:::::=#@@@@#**+*##@@@#*%%%%%%%%##############******+==-:-=-:.-==-:.. ... + .:.:-==++++====::-----::---:-+%@@@@@@@@@@@@@#-... + . ...............=@@@@@@@@@@@@@@+.... + -@@@@@@@@@@@@@#. + -@@@@@@@@@@@@%- + -@@%%##@@@@@@= + =%++*=-=%@@@*. + =--*%%%::#@#: + *@+=#-+*%@%- + .*%****###@+. + ::..:::.::*@@@%%%%%#: + +x-1 is a browser for small web protocols gemini, gopher, finger, spartan, and nex. +It also has very limited support for HTTP[S]. + +It was written by TJP and released to the public domain. +`[1:]) + return err +} + func Navigate(state *BrowserState, target *url.URL, navIndex int, conf *Config) error { hist := state.History -- cgit v1.2.3