git.y1.nz

mtm

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

commit dc529cff5cb873d0880a7678bb5387aaf10e45d7
parent a37414c941e90256aea6201f114a237eca574843
Author: Rob King <jking@deadpixi.com>
Date:   Fri, 23 Jun 2017 23:59:26 -0500

Simplify idl.

Diffstat:
Mmtm.c4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/mtm.c b/mtm.c @@ -275,10 +275,8 @@ HANDLER(dsr) /* DSR - Device Status Report */ ENDHANDLER HANDLER(idl) /* IL or DL - Insert/Delete Line */ - /* Programs expect IL and DL to scroll as needed, so no insdelln... */ - wsetscrreg(win, y, bot - 1); + /* insdelln inserts lines above, not below, so we scroll instead */ wscrl(win, w == L'L'? -P1(0) : P1(0)); - wsetscrreg(win, top, bot - 1); ENDHANDLER HANDLER(csr) /* CSR - Change Scrolling Region */

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