diff options
author | bptato <nincsnevem662@gmail.com> | 2022-11-22 23:57:50 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2022-11-22 23:57:50 +0100 |
commit | ee930b0f5a587768d340c4204cf1f2e9fb818c89 (patch) | |
tree | dda0aeddce19b4e28a4c341d308d0cd87652125b /src/buffer | |
parent | 1da72ab345a13ee61b1f06b30fdc6c57c97bf524 (diff) | |
download | chawan-ee930b0f5a587768d340c4204cf1f2e9fb818c89.tar.gz |
Table improvements
Diffstat (limited to 'src/buffer')
-rw-r--r-- | src/buffer/buffer.nim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer/buffer.nim b/src/buffer/buffer.nim index b8e2d69f..685fa4db 100644 --- a/src/buffer/buffer.nim +++ b/src/buffer/buffer.nim @@ -285,6 +285,7 @@ proc gotoAnchor(buffer: Buffer) = inc i proc windowChange(buffer: Buffer) = + buffer.viewport = Viewport(window: buffer.attrs) buffer.width = buffer.attrs.width buffer.height = buffer.attrs.height - 1 buffer.reshape = true |