mirror of
https://github.com/erkin/ponysay.git
synced 2025-02-14 16:44:23 +01:00
Stack analyzer checks on coloursay.krk
This commit is contained in:
parent
57cc131f3b
commit
8fe3277759
1 changed files with 1 additions and 1 deletions
|
@ -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] + ';'
|
||||
|
|
Loading…
Reference in a new issue