about summary refs log tree commit diff stats
path: root/src/buffer
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-11-21 00:19:24 +0100
committerbptato <nincsnevem662@gmail.com>2022-11-21 00:19:24 +0100
commit940e6516955add573872231c1b8365c21dd62195 (patch)
tree6935d104f2d71377dc6150a2d37206764940f996 /src/buffer
parent7d6c75e4c737e51f997f2ac02001fad1a5627ca2 (diff)
downloadchawan-940e6516955add573872231c1b8365c21dd62195.tar.gz
Color stuff
Diffstat (limited to 'src/buffer')
-rw-r--r--src/buffer/container.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer/container.nim b/src/buffer/container.nim
index e8908986..b0847579 100644
--- a/src/buffer/container.nim
+++ b/src/buffer/container.nim
@@ -121,7 +121,7 @@ proc newBuffer*(config: Config, source: BufferSource, tty: FileHandle, ispipe =
       let ostream = newFileStream(writef)
       result = Container(istream: istream, ostream: ostream, source: source,
                          ifd: pipefd_out[0], process: pid, attrs: attrs,
-                         width: attrs.width - 1, height: attrs.height - 1,
+                         width: attrs.width, height: attrs.height - 1,
                          contenttype: source.contenttype, ispipe: ispipe,
                          tty: tty)
       result.pos.setx = -1