mtm | Ncurses-based terminal multiplexer |
| download: https://git.y1.nz/archives/mtm.tar.gz | |
| Files | Log | Refs |
commit 94910e199ddd5e67bdc766f4d752e66eb159e13d parent ab64b11e7d9d1825a30c4f1bfaf6ae12bd26c642 Author: Rob King <jking@deadpixi.com> Date: Fri, 17 Feb 2017 23:43:55 -0600 Updated to latest tmt.c Diffstat:
| M | tmt.c | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tmt.c b/tmt.c @@ -421,7 +421,7 @@ static inline size_t testmbchar(TMT *vt) { mbstate_t ts = vt->ms; - return mbrtowc(NULL, vt->mb, vt->nmb, &ts); + return vt->nmb? mbrtowc(NULL, vt->mb, vt->nmb, &ts) : (size_t)-2; } static inline void
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.