From c174836159db420fade4cd5ac413ed35620b78d1 Mon Sep 17 00:00:00 2001 From: Vee Date: Fri, 15 May 2020 07:38:51 -0400 Subject: [PATCH] Add command to search GUS --- av98.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/av98.py b/av98.py index c1ca6e0..ed56684 100755 --- a/av98.py +++ b/av98.py @@ -1055,6 +1055,11 @@ Use 'ls -l' to see URLs.""" self._show_lookup(url = "-l" in line) self.page_index = 0 + def do_gus(self, line): + """Submit a search query to the GUS search engine.""" + gus = GeminiItem("gemini://gus.guru/search") + self._go_to_gi(gus.query(line)) + def do_history(self, *args): """Display history.""" self.lookup = self.history