forked from solderpunk/AV-98
offpunk: removed "blackbox", which has not been used nor maintained
This commit is contained in:
parent
fa0793ef16
commit
c86a377d98
|
@ -7,6 +7,7 @@
|
||||||
- ansicat: added support for <video> HTML-element
|
- ansicat: added support for <video> HTML-element
|
||||||
- ansicat: if chafa fails to load an image, fallback to timg is available
|
- ansicat: if chafa fails to load an image, fallback to timg is available
|
||||||
- offpunk: add list autocompletion to "tour"
|
- offpunk: add list autocompletion to "tour"
|
||||||
|
- offpunk: removed "blackbox", which has not been used nor maintained
|
||||||
|
|
||||||
## 2.1 - December 15th 2023
|
## 2.1 - December 15th 2023
|
||||||
- freshly updated gemtext/rss links are highlighted ("new_link" theme option)
|
- freshly updated gemtext/rss links are highlighted ("new_link" theme option)
|
||||||
|
|
13
offpunk.py
13
offpunk.py
|
@ -1610,19 +1610,6 @@ The following lists cannot be removed or frozen but can be edited with "list edi
|
||||||
else:
|
else:
|
||||||
cmd.Cmd.do_help(self, arg)
|
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):
|
def do_sync(self, line):
|
||||||
"""Synchronize all bookmarks lists and URLs from the to_fetch list.
|
"""Synchronize all bookmarks lists and URLs from the to_fetch list.
|
||||||
- New elements in pages in subscribed lists will be added to tour
|
- New elements in pages in subscribed lists will be added to tour
|
||||||
|
|
Loading…
Reference in New Issue