scc

A fork of https://git.simple-cc.org/scc/ for Qute

git clone https://git.8pit.net/scc.git

 1#include <wchar.h>
 2#undef wcwidth
 3
 4/* incomplete, needs a real implementation */
 5int
 6wcwidth(wchar_t wc)
 7{
 8	if (!wc)
 9		return 0;
10	else if (wc < 32 || wc >= 127)
11		return -1;
12	return 1;
13}