This commit is contained in:
decoded
2022-11-05 19:39:50 -05:00
parent 03ee93c366
commit 11862bc34a

View File

@@ -704,7 +704,7 @@ class UI:
sleep(1)
print('\x1bc')
decoder.as_terminal()
elif k == 'f':
elif k == 'f':
if SHOW_FILENAME:
SHOW_FILENAME=False
else:
@@ -740,7 +740,7 @@ class UI:
sleep(1)
else:
print(f'{R} autopumping from pump queue')
while not flag_done:
if len(self.QUEUE) > 0:
print('\x1bc')
@@ -755,7 +755,7 @@ class UI:
decoder.as_irc()
N=random.randint(5,10)
print(f'{C}SLEEPING {M}{N}{C} SECONDS BEFORE NEXT AUTOPUMP: {self.QUEUE[0][0]}')
sleep(N)
sleep(N)
else:
flag_done=True
print(f'{B}NO FILES LEFT IN QUEUE - {R} EXITING')
@@ -1247,7 +1247,7 @@ class ANSIDecoder:
for _ in self.output_lines:
self.fifo(_)
sleep(dr1p.delay)
if self.ESCAPE_PUMP:
if self.ESCAPE_PUMP:
DID_I_ABORT=True
break
if SHOW_FILENAME:
@@ -1328,7 +1328,7 @@ class ANSIDecoder:
else:
distance=int(self.width)-len(line)
processing+=f"{''*distance}"
self.output_lines.append(processing)
self.output_lines.append(processing)
# self.output_lines.append(processing + '\x1b[40;37m')
processing=''
#########################################################################################################################