Revert "F5 fully reloads page"

This reverts commit 2da3a20c4e.
pull/22/head
chris west 4 years ago
parent 31a50da8bd
commit 5fb8f14586

@ -604,12 +604,7 @@ impl UI {
}
}
// F5 = refresh
Action::Keypress(Key::F(5)) => {
if let Some(view) = self.views.get(self.focused) {
let current_url = view.url().to_owned();
self.open(&current_url, &current_url)?
}
}
Action::Keypress(Key::F(5)) => self.dirty = true,
Action::Keypress(Key::Left) | Action::Keypress(Key::Backspace) => {
if self.focused > 0 {
self.dirty = true;

Loading…
Cancel
Save