chiark / gitweb /
terminal: provide display dimensions to API users
[elogind.git] / src / libsystemd-terminal / term-wcwidth.c
index 443161cfb8506c81ce630e12293d5cee2b704e04..df20a40451e2af24be2f2c3837f55bde2e3f6805 100644 (file)
@@ -66,8 +66,8 @@
 #include "term-internal.h"
 
 struct interval {
-  int first;
-  int last;
+  wchar_t first;
+  wchar_t last;
 };
 
 /* auxiliary function for binary search in interval table */