diff --git a/client.go b/client.go index 4b49f77..107e1c7 100644 --- a/client.go +++ b/client.go @@ -979,7 +979,7 @@ func (c *client) Visit(url string) { } switch strings.ToUpper(c.Options["lynxmode"]) { case "TRUE": - page, err := http.Visit(u.Full, c.Width - 1) + page, err := http.Visit(u.Full, c.Width-1) if err != nil { c.SetMessage(fmt.Sprintf("Lynx error: %s", err.Error()), true) c.DrawMessage() @@ -1057,7 +1057,6 @@ func (c *client) ReloadPage() error { return nil } - //------------------------------------------------\\ // + + + F U N C T I O N S + + + \\ //--------------------------------------------------\\ diff --git a/http/lynx_mode.go b/http/lynx_mode.go index 325b759..6b431e5 100644 --- a/http/lynx_mode.go +++ b/http/lynx_mode.go @@ -7,8 +7,8 @@ import ( ) type page struct { - Content string - Links []string + Content string + Links []string } func Visit(url string, width int) (page, error) { diff --git a/main.go b/main.go index 69eba38..a755cc5 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,6 @@ package main -// Bombadillo is an internet client for the terminal of unix or +// Bombadillo is an internet client for the terminal of unix or // unix-like systems. // // Copyright (C) 2019 Brian Evans