Add version strings to the packages.
This commit is contained in:
parent
b522577fa3
commit
949f5f6d24
4 changed files with 12 additions and 0 deletions
|
|
@ -0,0 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
|
__version__ = "v2021.12.22"
|
||||||
|
|
@ -13,6 +13,9 @@ import fill3.terminal as terminal
|
||||||
import termstr
|
import termstr
|
||||||
|
|
||||||
|
|
||||||
|
__version__ = "v2021.12.22"
|
||||||
|
|
||||||
|
|
||||||
def appearance_is_valid(appearance):
|
def appearance_is_valid(appearance):
|
||||||
return (all(isinstance(line, (str, termstr.TermStr)) and len(line) > 0 for line in appearance)
|
return (all(isinstance(line, (str, termstr.TermStr)) and len(line) > 0 for line in appearance)
|
||||||
and len(set(len(line) for line in appearance)) < 2)
|
and len(set(len(line) for line in appearance)) < 2)
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,9 @@ import stat
|
||||||
import syslog
|
import syslog
|
||||||
|
|
||||||
|
|
||||||
|
__version__ = "v2021.12.22"
|
||||||
|
|
||||||
|
|
||||||
FILE_KEY = "fi"
|
FILE_KEY = "fi"
|
||||||
DIRECTORY_KEY = "di"
|
DIRECTORY_KEY = "di"
|
||||||
OTHER_WRITABLE_KEY = "ow"
|
OTHER_WRITABLE_KEY = "ow"
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,9 @@ import weakref
|
||||||
import cwcwidth
|
import cwcwidth
|
||||||
|
|
||||||
|
|
||||||
|
__version__ = "v2021.12.22"
|
||||||
|
|
||||||
|
|
||||||
ESC = "\x1b"
|
ESC = "\x1b"
|
||||||
|
|
||||||
NORMAL = "[m"
|
NORMAL = "[m"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue