This commit is contained in:
fluzzi 2022-07-08 13:03:17 -03:00
parent 2f5b5fcf6b
commit 0fad67513f
4 changed files with 8 additions and 13 deletions

View File

@ -1,2 +1,2 @@
__version__ = "2.1.4"
__version__ = "2.1.5"

View File

@ -139,11 +139,8 @@ class node:
t = t.replace("\a","")
t = t.replace('\n\n', '\n')
t = re.sub(r'.\[K', '', t)
while True:
tb = re.sub('.\b', '', t, count=1)
if len(t) == len(tb):
break
t = tb
while t.find("\b") != -1:
t = re.sub('[^\b]\b', '', t)
ansi_escape = re.compile(r'\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/ ]*[@-~])')
t = ansi_escape.sub('', t)
t = t.lstrip(" \n\r")

View File

@ -2005,11 +2005,8 @@ tasks:
t = t.replace("\a","")
t = t.replace('\n\n', '\n')
t = re.sub(r'.\[K', '', t)
while True:
tb = re.sub('.\b', '', t, count=1)
if len(t) == len(tb):
break
t = tb
while t.find("\b") != -1:
t = re.sub('[^\b]\b', '', t)
ansi_escape = re.compile(r'\x1B(?:[@-Z\\-_]|\[[0-?]*[ -/ ]*[@-~])')
t = ansi_escape.sub('', t)
t = t.lstrip(" \n\r")

View File

@ -1,5 +1,6 @@
inquirer~=2.9.2
pexpect~=4.8.0
pycryptodome~=3.14.1
pycryptodome~=3.15.0
pyfzf~=0.3.1
setuptools~=59.5.0
PyYAML~=6.0
setuptools~=61.3.1