diff --git a/CHANGELOG b/CHANGELOG index 5d0f3e7..44748db 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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) diff --git a/offpunk.py b/offpunk.py index c406604..d82f11e 100755 --- a/offpunk.py +++ b/offpunk.py @@ -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."""