Adds web support in lynx mode #60

Merged
sloum merged 7 commits from lynx-web-mode into develop 2019-10-27 14:15:57 +00:00
3 changed files with 4 additions and 5 deletions
Showing only changes of commit 231ccc36d3 - Show all commits

View File

@ -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 + + + \\
//--------------------------------------------------\\