Add command to search GUS
This commit is contained in:
parent
d828965979
commit
c174836159
5
av98.py
5
av98.py
|
@ -1055,6 +1055,11 @@ Use 'ls -l' to see URLs."""
|
||||||
self._show_lookup(url = "-l" in line)
|
self._show_lookup(url = "-l" in line)
|
||||||
self.page_index = 0
|
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):
|
def do_history(self, *args):
|
||||||
"""Display history."""
|
"""Display history."""
|
||||||
self.lookup = self.history
|
self.lookup = self.history
|
||||||
|
|
Loading…
Reference in New Issue