diff options
Diffstat (limited to 'src/buffer')
-rw-r--r-- | src/buffer/container.nim | 2 |
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 |