offpunk: removed "blackbox", which has not been used nor maintained

This commit is contained in:
Ploum 2024-01-06 21:21:08 +01:00
parent fa0793ef16
commit c86a377d98
2 changed files with 1 additions and 13 deletions

View File

@ -7,6 +7,7 @@
- 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"
- offpunk: removed "blackbox", which has not been used nor maintained
## 2.1 - December 15th 2023
- freshly updated gemtext/rss links are highlighted ("new_link" theme option)

View File

@ -1610,19 +1610,6 @@ The following lists cannot be removed or frozen but can be edited with "list edi
else:
cmd.Cmd.do_help(self, arg)
### Flight recorder
def do_blackbox(self, *args):
"""Display contents of flight recorder, showing statistics for the
current gemini browsing session."""
lines = []
# Compute flight time
now = time.time()
delta = now - self.log["start_time"]
hours, remainder = divmod(delta, 3600)
minutes, seconds = divmod(remainder, 60)
# Assemble lines
lines.append(("Patrol duration", "%02d:%02d:%02d" % (hours, minutes, seconds)))
def do_sync(self, line):
"""Synchronize all bookmarks lists and URLs from the to_fetch list.
- New elements in pages in subscribed lists will be added to tour