about summary refs log tree commit diff stats
path: root/src/server
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-01-23 12:13:53 +0100
committerbptato <nincsnevem662@gmail.com>2024-01-23 12:24:39 +0100
commit92370dde18a611b943d492712ce56d9c06b7d04f (patch)
tree97a39e0295f927d5de90f9ad1032151f479c8f71 /src/server
parenta80c9c6a321757cc865d981ca5d1ffd1558f0281 (diff)
downloadchawan-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.nim2
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.} =