vtgl

terminal emulator implemented in OpenGL
git clone anongit@rnpnr.xyz:vtgl.git
Log | Files | Refs | Feed | LICENSE

Commit: 5dd81eaa0fb4fd1249df2bf9479664b8eff28c3e
Parent: 7a8fe5179af21e2db28ff35be66a03a3c508ff1c
Author: Randy Palamar
Date:   Fri, 29 Nov 2024 19:30:07 -0700

don't include wchar.h just provide the single needed prototype

Diffstat:
Mterminal.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/terminal.c b/terminal.c @@ -1,7 +1,7 @@ /* See LICENSE for copyright details */ /* TODO: build own wide char tables */ -#include <wchar.h> +i32 wcwidth(u32 cp); static const u8 utf8overhangmask[32] = { 255, 255, 255, 255, 255, 255, 255, 255,