fixed 'hist' command and simplified reading the config file

This commit is contained in:
2023-08-12 08:13:31 +02:00
parent 6406d2f5b5
commit f90e7bcd47
2 changed files with 25 additions and 18 deletions
+4 -1
View File
@@ -11,7 +11,10 @@ def pp(*args, **kwargs) -> None:
return PrettyPrinter(width=terminal_width()).pprint(*args, **kwargs)
def process_tags(tags: list[str], extags: list[str], otags: list[str]) -> None:
def print_tag_args(tags: list[str], extags: list[str], otags: list[str]) -> None:
"""
Prints the tags specified in the given args.
"""
printed_messages = []
if tags: