mtm | Ncurses-based terminal multiplexer |
| download: https://git.y1.nz/archives/mtm.tar.gz | |
| Files | Log | Refs |
commit 840baf12530be97be99f6dc3b42b83962207e4e4 parent 6df81e7346725594d345dc272c821c41e5218796 Author: Rob King <jking@deadpixi.com> Date: Sat, 18 Feb 2017 10:56:42 -0600 Typo fix. Diffstat:
| M | mtm.1 | 2 | +- |
| M | mtm.c | 8 | +++----- |
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/mtm.1 b/mtm.1 @@ -83,7 +83,7 @@ Redraw the screen. will exit when its last virtual terminal is closed. .Sh ENVIRONMENT The following environment variables affect the operation of -.Nm sam ":" +.Nm mtm ":" .Bl -tag -width Ds .It Ev LC_CTYPE .It Ev LC_ALL diff --git a/mtm.c b/mtm.c @@ -67,10 +67,8 @@ struct NODE{ pid_t pid; }; -static NODE *root; -static NODE *focused; -static bool monochrome; -static bool needresize = true; +static NODE *root, *focused; +static bool monochrome, needresize = true; static int commandkey = CTL('g'); static void reshape(NODE *n, int y, int x, int h, int w); @@ -136,7 +134,7 @@ safewrite(int fd, const char *b, size_t n) ssize_t s = write(fd, b + w, n - w); if (s < 0 && errno != EINTR) quit(EXIT_FAILURE, strerror(errno)); - w += s; + w += (size_t)s; } }
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.