v2.0
This commit is contained in:
parent
fb7a60546d
commit
7e0d4801c3
|
@ -405,8 +405,6 @@ class dr1p4ns1:
|
|||
code_values=_.split('[')[1].split(';')
|
||||
code_replace=_
|
||||
newcode=''
|
||||
if len(irc_processed) == 19:
|
||||
pass
|
||||
for __ in code_values:
|
||||
__=__.replace('m','')
|
||||
if 0 <= int(__) <= 9:
|
||||
|
@ -462,7 +460,6 @@ class dr1p4ns1:
|
|||
newcode+=str(color_table[int(fg_color)-30+bold_offset])
|
||||
if 40 <= int(_) <= 49:
|
||||
newcode+=","+str(color_table[int(bg_color)-40])
|
||||
pass
|
||||
else:
|
||||
pass #non-bold-operations
|
||||
if len(codes) == 1 and not codes_root_popped:
|
||||
|
@ -1130,7 +1127,6 @@ class ANSIDecoder:
|
|||
self.as_irc_lines()
|
||||
for _ in self.output_lines:
|
||||
self.fifo(_)
|
||||
pass
|
||||
################################################################################################### RE-ENCODING ENCODINGS
|
||||
def as_terminal_lines(self):
|
||||
default_fg=7
|
||||
|
@ -1204,7 +1200,6 @@ class ANSIDecoder:
|
|||
self.as_terminal_lines()
|
||||
for _ in self.output_lines:
|
||||
print(_)
|
||||
pass
|
||||
################################################################################################################### ENTRY - 1
|
||||
if __name__=="__main__":
|
||||
FIFO_ENABLED = os.path.exists(FIFO_PATH)
|
||||
|
|
Loading…
Reference in New Issue