diff options
author | bptato <nincsnevem662@gmail.com> | 2022-01-24 15:53:11 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-01-24 15:53:11 +0100 |
commit | 06696ec0a2c7486a35550bfb9a6f6caba439d0a2 (patch) | |
tree | 4c3f539e011e0ad14b452eb6ccc0a96eb8fa69ba /src/render/renderdocument.nim | |
parent | 0b40abbaa7fdfe6bd0150fd25456e7207d58ba1f (diff) | |
download | chawan-06696ec0a2c7486a35550bfb9a6f6caba439d0a2.tar.gz |
Fix node to cell mapping
Diffstat (limited to 'src/render/renderdocument.nim')
-rw-r--r-- | src/render/renderdocument.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/renderdocument.nim b/src/render/renderdocument.nim index 2ff46488..6765853b 100644 --- a/src/render/renderdocument.nim +++ b/src/render/renderdocument.nim @@ -48,7 +48,7 @@ proc setRowWord(lines: var FlexibleGrid, word: InlineWord, x, y: int, term: Term let oformats = lines[y].formats.subformats(i) lines[y].setLen(i) - lines.addFormat(y, i, word.formatFromWord(), word.nodes) + lines.addFormat(y, i, word.formatFromWord(), word.node) var nx = cx if nx < x: |