git.y1.nz

mtm

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

commit 7ea19d4eb589608f5714003601ca9a0f5c553188
parent 5f2ec1b0919047b2f6e1c7c1e0fc4cc054cc4821
Author: Rob King <jking@deadpixi.com>
Date:   Thu, 20 Apr 2017 15:41:19 -0500

Handle the negative case for wcwidth.

Diffstat:
Mmtm.c3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/mtm.c b/mtm.c @@ -630,6 +630,9 @@ HANDLER(so) /* SO/SI - Switch Out/In character set */ ENDHANDLER HANDLER(print) /* Print a character to the terminal */ + if (wcwidth(w) <= 0) + return; + if (n->insert) ich(v, p, L'@', 0, 0, NULL);

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