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"));},