git.y1.nz

mtm

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

commit 8391b0860081a0137640f35b32b778a7ceae0d06
parent 091f5d80753de749ef81090fc2aca4f77175976a
Author: Rob King <jking@deadpixi.com>
Date:   Fri, 28 Apr 2017 00:20:36 -0500

Fixed regression in handling resizes.

Diffstat:
Mmtm.c8+++-----
1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/mtm.c b/mtm.c @@ -1295,11 +1295,9 @@ run(void) /* Run MTM. */ if (select(nfds + 1, &sfds, NULL, NULL, NULL) < 0) FD_ZERO(&sfds); - if (FD_ISSET(STDIN_FILENO, &sfds)){ - int r = wget_wch(focused->win, &w); - while (handlechar(r, w)) - r = wget_wch(focused->win, &w); - } + int r = wget_wch(focused->win, &w); + while (handlechar(r, w)) + r = wget_wch(focused->win, &w); getinput(root, &sfds); doupdate();

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