git.y1.nz

mtm

Ncurses-based terminal multiplexer
download: https://git.y1.nz/archives/mtm.tar.gz
Files | Log | Refs

commit 0e46055e9067716046dcd1402e415f7306615761
parent f80dd04a2f6d493ac158cf6b12af5bc6c0bd1e2d
Author: Rob King <jking@deadpixi.com>
Date:   Fri, 17 Feb 2017 09:25:58 -0600

Fixed view size calculation.

Diffstat:
Mmtm.c4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mtm.c b/mtm.c @@ -324,10 +324,10 @@ reshapechildren(NODE *n) { if (n->t == HORIZONTAL){ reshape(n->c1, n->y, n->x, n->h, n->w / 2); - reshape(n->c2, n->y, n->x + n->w / 2 + 1, n->h, n->w / 2); + reshape(n->c2, n->y, n->x + n->w / 2 + 1, n->h, n->w / 2 - 1); } else if (n->t == VERTICAL){ reshape(n->c1, n->y, n->x, n->h / 2, n->w); - reshape(n->c2, n->y + n->h / 2 + 1, n->x, n->h / 2, n->w); + reshape(n->c2, n->y + n->h / 2 + 1, n->x, n->h / 2 - 1, n->w); } }

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.