mirror of https://github.com/tqdm/tqdm.git
ncols: support FreeBSD
- fixes https://github.com/casperdcl/git-fame/issues/98
This commit is contained in:
parent
4f662763e6
commit
d8ac65641d
|
@ -14,7 +14,7 @@ from weakref import proxy
|
|||
_range, _unich, _unicode, _basestring = range, chr, str, str
|
||||
CUR_OS = sys.platform
|
||||
IS_WIN = any(CUR_OS.startswith(i) for i in ['win32', 'cygwin'])
|
||||
IS_NIX = any(CUR_OS.startswith(i) for i in ['aix', 'linux', 'darwin'])
|
||||
IS_NIX = any(CUR_OS.startswith(i) for i in ['aix', 'linux', 'darwin', 'freebsd'])
|
||||
RE_ANSI = re.compile(r"\x1b\[[;\d]*[A-Za-z]")
|
||||
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue