Stack analyzer checks on coloursay.krk

This commit is contained in:
K. Lange 2022-03-29 09:19:52 +09:00
parent 57cc131f3b
commit 8fe3277759

View file

@ -81,7 +81,7 @@ class ColourStack():
let old = self.stack.pop(0)
let rc = '\033[0;'
if len(self.stack) == 0: # last resort in case something made it pop too mush
push()
self.push()
let new = self.stack[0]
if new[1] is not None: rc += new[1] + ';'
if new[2] is not None: rc += new[2] + ';'