diff options
author | davidovski <david@davidovski.xyz> | 2022-01-19 00:02:08 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-19 00:02:08 +0000 |
commit | be11529ff79011f370ce2969dfa145dac81fbee3 (patch) | |
tree | c6680b9e49bb3efa550354517c9758069d3d5bb4 /src/xi.py | |
parent | 4d61440c07613661a569a76ba54d0c7d27de1efe (diff) |
added horizontal wavey bars
Diffstat (limited to 'src/xi.py')
-rw-r--r-- | src/xi.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -44,6 +44,7 @@ def print_stats(conf, opts): distro = util.get_distro()["NAME"] + print(colors.LIGHT_CYAN + ("~"*w) + colors.RESET) print(colors.LIGHT_CYAN + "xipkg", end="") print(colors.CYAN + " on ", end="") print(colors.LIGHT_CYAN + distro) @@ -53,7 +54,9 @@ def print_stats(conf, opts): for repo,count in pkg_count.items(): print(f"\t{colors.BLUE}{repo}: {colors.LIGHT_BLUE}{count}") - print(colors.RESET) + + w, h = util.get_area() + print(colors.LIGHT_CYAN + ("~"*w) + colors.RESET) def main(): |