diff options
| author | Fuwn <[email protected]> | 2022-07-17 11:34:15 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-07-17 11:34:15 +0000 |
| commit | ecafc617b5693762822937cf09d330569fc01a2b (patch) | |
| tree | a675f4062d5768c1a3981b6b9b441d692fb56a9d /src/input.rs | |
| parent | docs(README.md): expanding gif link (diff) | |
| download | sydney-ecafc617b5693762822937cf09d330569fc01a2b.tar.xz sydney-ecafc617b5693762822937cf09d330569fc01a2b.zip | |
feat(input.rs): add help command
Diffstat (limited to 'src/input.rs')
| -rw-r--r-- | src/input.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/input.rs b/src/input.rs index 1e8e083..54065ac 100644 --- a/src/input.rs +++ b/src/input.rs @@ -170,7 +170,6 @@ fn handle_editing_input( }) .unwrap(), ); - app.make_request(); } else { app.error = Some("No URL provided for open command".to_string()); @@ -187,6 +186,10 @@ fn handle_editing_input( app.make_request(); }, + Command::Help => { + app.set_url(Url::parse("gemini://gem.rest/projects/sydney.gmi").unwrap()); + app.make_request(); + } } app.input_mode = Mode::Normal; |