v2.2
This commit is contained in:
parent
714146acd9
commit
ff278cf162
|
@ -664,7 +664,7 @@ class UI:
|
|||
print('\x1bc')
|
||||
decoder.as_terminal()
|
||||
elif k == 'q':
|
||||
self.QUEUE.append(self.files[index])
|
||||
self.QUEUE.append((self.files[index],d.width))
|
||||
print(f'{C}{self.files[index]} {B}added to pumpqueue')
|
||||
sleep(1)
|
||||
print('\x1bc')
|
||||
|
@ -675,10 +675,10 @@ class UI:
|
|||
if FIFO_ENABLED:
|
||||
if len(self.QUEUE) > 0:
|
||||
self.QUEUE.reverse()
|
||||
buffer=self.QUEUE[-1]
|
||||
buffer_filename, buffer_width=self.QUEUE[-1]
|
||||
self.QUEUE.pop()
|
||||
self.QUEUE.reverse()
|
||||
decoder=ANSIDecoder(buffer,d.width)
|
||||
decoder=ANSIDecoder(buffer_filename,buffer_width)
|
||||
PMSG=f'{M}pump: pumped from pumpqueue {C}{self.files[index]} {M}to fifo - {C}{FIFO_PATH}'
|
||||
else:
|
||||
decoder=ANSIDecoder(self.files[index],d.width)
|
||||
|
@ -1148,7 +1148,7 @@ class ANSIDecoder:
|
|||
self.output_lines=[]
|
||||
self.as_irc_lines()
|
||||
for _ in self.output_lines:
|
||||
self.fifo(_)
|
||||
self.fifo(_[:137])
|
||||
################################################################################################### RE-ENCODING ENCODINGS
|
||||
def as_terminal_lines(self):
|
||||
default_fg=7
|
||||
|
|
Loading…
Reference in New Issue