From b29ea2cee422d48eee276fb5250a26aecf81317d Mon Sep 17 00:00:00 2001 From: deadjakk Date: Tue, 4 Apr 2023 22:18:44 -0600 Subject: [PATCH] added help line --- src/help.rs | 1 + src/ui.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/help.rs b/src/help.rs index 0239ce8..8c9b617 100644 --- a/src/help.rs +++ b/src/help.rs @@ -123,6 +123,7 @@ is save bookmark ia show history i ir view raw source +id download raw source iw toggle wide mode ie toggle encoding iq quit phetch diff --git a/src/ui.rs b/src/ui.rs index 1ca4ca3..8961d91 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -684,7 +684,7 @@ impl UI { Action::Keypress(Key::Char(key)) | Action::Keypress(Key::Ctrl(key)) => match key { 'a' => self.open("History", "gopher://phetch/1/history")?, 'b' => self.open("Bookmarks", "gopher://phetch/1/bookmarks")?, - 'c' => { + 'd' => { let url = match self.views.get(self.focused) { Some(view)=> String::from(view.url()), None => {return Err(error!("Could not get url from view"));},