diff --git a/gopher/view.go b/gopher/view.go index 21f27c5..a38abd5 100644 --- a/gopher/view.go +++ b/gopher/view.go @@ -56,6 +56,7 @@ func (v *View) ParseMap() { v.Content[i] = linktext } } + v.Content = v.Content[: len(v.Content) - 1] } } diff --git a/notes.md b/notes.md index 4d9311c..728ea0f 100644 --- a/notes.md +++ b/notes.md @@ -1,8 +1,11 @@ TODO -- Load homepage on open, if one is set - Add built in help system: SIMPLE :help, DO :help action - Add styles/color support -- Revisit the name? +- Add comments/documentation for all items +- Finish out binary download support +- Make sure html links using the URL convention work correctly +- Add "Search" command. ":search thing1 thing2" that uses search as set in config +- Verify that all gophertypes work correctly Control keys/input: