add list autocompletion to tour

This commit is contained in:
Ploum 2023-12-25 00:14:04 +01:00
parent 6d7c45188f
commit 9d1fb1a3d4
2 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@
- netcache : solve an infinite gemini loop with code 6X (see also bug #31)
- ansicat: added support for <video> HTML-element
- ansicat: if chafa fails to load an image, fallback to timg is available
- offpunk: add list autocompletion to "tour"
## 2.1 - December 15th 2023
- freshly updated gemtext/rss links are highlighted ("new_link" theme option)

View File

@ -206,6 +206,8 @@ class GeminiClient(cmd.Cmd):
return [i+" " for i in allowed if i.startswith(text)]
def complete_move(self,text,line,begidx,endidx):
return self.complete_add(text,line,begidx,endidx)
def complete_tour(self,text,line,begidx,endidx):
return self.complete_add(text,line,begidx,endidx)
def complete_theme(self,text,line,begidx,endidx):
elements = offthemes.default