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