offpunk: "gus" was broken, it is functionnal again

This commit is contained in:
Ploum 2024-01-06 21:24:51 +01:00
parent c86a377d98
commit cf459e5295
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@
- ansicat: if chafa fails to load an image, fallback to timg is available
- offpunk: add list autocompletion to "tour"
- offpunk: removed "blackbox", which has not been used nor maintained
- offpunk: "gus" was broken, it is functionnal again
## 2.1 - December 15th 2023
- freshly updated gemtext/rss links are highlighted ("new_link" theme option)

View File

@ -922,7 +922,8 @@ Use 'ls -l' to see URLs."""
if not line:
print("What?")
return
self._go_to_url(urllib.parse.urlunparse("gemini","geminispace.info","/search","",line,""))
search = line.replace(" ","%20")
self._go_to_url("gemini://geminispace.info/search?%s"%search)
def do_history(self, *args):
"""Display history."""