bug fix
This commit is contained in:
parent
2f5b5fcf6b
commit
0fad67513f
@ -1,2 +1,2 @@
|
||||
__version__ = "2.1.4"
|
||||
__version__ = "2.1.5"
|
||||
|
||||
|
@ -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")
|
||||
|
@ -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")
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user