added help line

pull/39/head
deadjakk 1 year ago
parent b923b4b655
commit e071e51ee2

@ -123,6 +123,7 @@ is save bookmark
ia show history ia show history
i i
ir view raw source ir view raw source
id download raw source
iw toggle wide mode iw toggle wide mode
ie toggle encoding ie toggle encoding
iq quit phetch iq quit phetch

@ -684,7 +684,7 @@ impl UI {
Action::Keypress(Key::Char(key)) | Action::Keypress(Key::Ctrl(key)) => match key { Action::Keypress(Key::Char(key)) | Action::Keypress(Key::Ctrl(key)) => match key {
'a' => self.open("History", "gopher://phetch/1/history")?, 'a' => self.open("History", "gopher://phetch/1/history")?,
'b' => self.open("Bookmarks", "gopher://phetch/1/bookmarks")?, 'b' => self.open("Bookmarks", "gopher://phetch/1/bookmarks")?,
'c' => { 'd' => {
let url = match self.views.get(self.focused) { let url = match self.views.get(self.focused) {
Some(view)=> String::from(view.url()), Some(view)=> String::from(view.url()),
None => {return Err(error!("Could not get url from view"));}, None => {return Err(error!("Could not get url from view"));},

Loading…
Cancel
Save