about summary refs log tree commit diff stats
path: root/src/buffer
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-12-19 23:36:16 +0100
committerbptato <nincsnevem662@gmail.com>2022-12-19 23:36:16 +0100
commit91d18d27e4eeebb5aa685b18b28130f3f1b4f513 (patch)
tree1bc2e19608b576582bb1edc3f0b18aed0eef477c /src/buffer
parentea9df035a294bf1cfa715c140d0d22aa018e262e (diff)
downloadchawan-91d18d27e4eeebb5aa685b18b28130f3f1b4f513.tar.gz
Add unicode normalization, etc
Diffstat (limited to 'src/buffer')
-rw-r--r--src/buffer/container.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer/container.nim b/src/buffer/container.nim
index 66ef2780..f85ed39e 100644
--- a/src/buffer/container.nim
+++ b/src/buffer/container.nim
@@ -286,6 +286,7 @@ proc requestLines*(container: Container, w = container.lineWindow): auto {.disca
     container.lineshift = w.a
     for y in 0 ..< min(res.lines.len, w.len):
       container.lines[y] = res.lines[y]
+      container.lines[y].str.mnormalize()
     if res.numLines != container.numLines:
       container.setNumLines(res.numLines, true)
     let cw = container.fromy ..< container.fromy + container.height