diff options
author | bptato <nincsnevem662@gmail.com> | 2022-12-25 21:02:02 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-12-25 21:02:02 +0100 |
commit | 37d08803de305a92ce208d1eddd594d12afd047a (patch) | |
tree | e0d58834b01796311c6af1d1da1d75eb91162c71 /src/buffer | |
parent | 35c5fb0eca71b4a78d013dfe469d78a4a4136c41 (diff) | |
download | chawan-37d08803de305a92ce208d1eddd594d12afd047a.tar.gz |
container: fix requestLines not setting setx
Diffstat (limited to 'src/buffer')
-rw-r--r-- | src/buffer/container.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer/container.nim b/src/buffer/container.nim index e6a65550..065177a7 100644 --- a/src/buffer/container.nim +++ b/src/buffer/container.nim @@ -285,6 +285,7 @@ proc requestLines*(container: Container, w = container.lineWindow): auto {.disca for y in 0 ..< min(res.lines.len, w.len): container.lines[y] = res.lines[y] container.lines[y].str.mnormalize() + container.updateCursor() if res.numLines != container.numLines: container.setNumLines(res.numLines, true) let cw = container.fromy ..< container.fromy + container.height |