update
This commit is contained in:
@@ -1245,7 +1245,10 @@ class ANSIDecoder:
|
||||
######################################################################################################################### dr1p4ns1.AUTOQUEUE=[4] #0=index,1=len,2=list,3=filename
|
||||
def getkeythreaded(self):
|
||||
tty.setcbreak(sys.stdin.fileno())
|
||||
try:
|
||||
print(f'{dr1p4ns1._rgb(55,55,55)}<<<{dr1p4ns1._rgb(155,155,155)} press any key to abort pump {dr1p4ns1._rgb(55,55,55)}>>> {dr1p4ns1._rgb(155,155,155)}-{dr1p4ns1._rgb(200,200,200)} {dr1p4ns1.AUTOQUEUE[0]+1}{dr1p4ns1._rgb(155,155,155)}/{dr1p4ns1._rgb(200,200,200)}{dr1p4ns1.AUTOQUEUE[1]+1}{dr1p4ns1._rgb(155,155,155)}')
|
||||
except:
|
||||
print(f'{dr1p4ns1._rgb(55,55,55)}<<<{dr1p4ns1._rgb(155,155,155)} press any key to abort pump {dr1p4ns1._rgb(55,55,55)}>>> {dr1p4ns1._rgb(155,155,155)}')
|
||||
b = os.read(sys.stdin.fileno(), 3).decode()
|
||||
if len(b) == 3:
|
||||
k = ord(b[2])
|
||||
|
||||
Reference in New Issue
Block a user