mirror of
https://github.com/erkin/ponysay.git
synced 2025-02-27 14:14:31 +01:00
Fix bad sequence injection
This commit is contained in:
parent
4a85549a1f
commit
0fa2f49561
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ class Backend():
|
||||||
## Invisible stuff
|
## Invisible stuff
|
||||||
i -= 1
|
i -= 1
|
||||||
let colourseq = Backend.getColour(line, i)
|
let colourseq = Backend.getColour(line, i)
|
||||||
b[bi : bi + len(colourseq)] = colourseq
|
b[bi : bi + len(colourseq)] = [colourseq]
|
||||||
i += len(colourseq)
|
i += len(colourseq)
|
||||||
bi += len(colourseq)
|
bi += len(colourseq)
|
||||||
elif (d is not None) and (d != ' '):
|
elif (d is not None) and (d != ' '):
|
||||||
|
|
Loading…
Reference in a new issue