git.y1.nz

mtm

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

commit 202cbc9216adec70bd53ae22233daaae90a9bfa8
parent a8f54e3209c7378e5a8885af349530bc352a60ad
Author: Rob King <jking@deadpixi.com>
Date:   Fri, 21 Apr 2017 10:17:16 -0500

Remove unused functions.

Diffstat:
Mvtparser.c21---------------------
1 file changed, 0 insertions(+), 21 deletions(-)

diff --git a/vtparser.c b/vtparser.c @@ -154,27 +154,6 @@ handlechar(VTPARSER *vp, wchar_t w) } } -static inline size_t -testmbchar(VTPARSER *vp) -{ - mbstate_t ts = vp->ms; - return vp->nmb? mbrtowc(NULL, vp->mb, vp->nmb, &ts) : (size_t)-2; -} - -static inline void -writembchar(VTPARSER *vp, wchar_t *c) -{ - mbrtowc(c, vp->mb, vp->nmb, &vp->ms); - vp->nmb = 0; -} - -static inline void -writebuf(VTPARSER *vp, const wchar_t *w, size_t n) -{ - for (size_t i = 0; i < n; i++) - handlechar(vp, w[i]); -} - static inline wchar_t getmbchar(VTPARSER *vp, char c) {

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