about summary refs log tree commit diff stats
path: root/src/render
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-12-14 10:47:11 +0100
committerbptato <nincsnevem662@gmail.com>2022-12-14 10:58:49 +0100
commitcd6a4c275030e9f66eb6807fc965d667a67ce55f (patch)
treed6ad7f16321a00fbb896b6997f4a782c4cee4e0e /src/render
parent03480fea95101cf1147c1e1a65c4e6fb457b1402 (diff)
downloadchawan-cd6a4c275030e9f66eb6807fc965d667a67ce55f.tar.gz
rendertext, color: fix escape codes
Diffstat (limited to 'src/render')
-rw-r--r--src/render/rendertext.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/rendertext.nim b/src/render/rendertext.nim
index 6c08cefd..79bdb541 100644
--- a/src/render/rendertext.nim
+++ b/src/render/rendertext.nim
@@ -81,6 +81,7 @@ proc renderStream*(grid: var FlexibleGrid, renderer: var StreamRenderer, len: in
         if not cancel:
           if renderer.ansiparser.state == PARSE_DONE:
             renderer.af = true
+          inc i
           continue
       case c
       of '\n':