diff options
author | bptato <nincsnevem662@gmail.com> | 2024-01-23 12:13:53 +0100 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-01-23 12:24:39 +0100 |
commit | 92370dde18a611b943d492712ce56d9c06b7d04f (patch) | |
tree | 97a39e0295f927d5de90f9ad1032151f479c8f71 /src/server | |
parent | a80c9c6a321757cc865d981ca5d1ffd1558f0281 (diff) | |
download | chawan-92370dde18a611b943d492712ce56d9c06b7d04f.tar.gz |
rendertext: add support for backspace overstrike, misc fixes
* parse manpage output styled ugly backspace overstrike formatting * fix broken charset detection for large files
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/buffer.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/buffer.nim b/src/server/buffer.nim index ba94ec34..093bc2d7 100644 --- a/src/server/buffer.nim +++ b/src/server/buffer.nim @@ -644,7 +644,7 @@ proc do_reshape(buffer: Buffer) = buffer.lines = renderDocument(styledRoot, buffer.attrs) buffer.prevstyled = styledRoot else: - buffer.lines.renderStream(buffer.srenderer, buffer.available) + buffer.lines.renderStream(buffer.srenderer) buffer.available = 0 proc windowChange*(buffer: Buffer, attrs: WindowAttributes) {.proxy.} = |