diff options
| author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2025-01-26 20:15:39 +0100 |
|---|---|---|
| committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2025-01-26 20:15:39 +0100 |
| commit | f697ea7e7603e916d5ee13327fcdaf9c811a00aa (patch) | |
| tree | e044dec90ee1cc497ac0cf1d9892aee11089a3e5 /src/wcwidtha.h | |
| parent | 85ad15fbd8c81807a1a662f5b6060641fa3a6357 (diff) | |
| download | luasystem-f697ea7e7603e916d5ee13327fcdaf9c811a00aa.tar.gz luasystem-f697ea7e7603e916d5ee13327fcdaf9c811a00aa.tar.bz2 luasystem-f697ea7e7603e916d5ee13327fcdaf9c811a00aa.zip | |
feat(terminal): check ambiguous unicode widthunicode/ambiguous
Diffstat (limited to 'src/wcwidtha.h')
| -rw-r--r-- | src/wcwidtha.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/wcwidtha.h b/src/wcwidtha.h new file mode 100644 index 0000000..9931b01 --- /dev/null +++ b/src/wcwidtha.h | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | // wcwidtha.h | ||
| 2 | |||
| 3 | #ifndef MK_WCWIDTHA_H | ||
| 4 | #define MK_WCWIDTHA_H | ||
| 5 | |||
| 6 | |||
| 7 | #include "wcwidth.h" | ||
| 8 | |||
| 9 | // Is a character in the list of ambiguous width characters (for east asian display) | ||
| 10 | int mk_wcwidth_a(mk_wchar_t ucs); | ||
| 11 | |||
| 12 | #endif // MK_WCWIDTHA_H | ||
