diff ui.h @ 504:60e04709ce0f

Refactor window backbuffer to use integer as internal storage to simplify line handling and buffer drawing.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 02 Jun 2012 22:00:25 +0300
parents ca88945d8eda
children 942eea564b15
line wrap: on
line diff
--- a/ui.h	Sat Jun 02 20:03:08 2012 +0300
+++ b/ui.h	Sat Jun 02 22:00:25 2012 +0300
@@ -25,8 +25,8 @@
 
 typedef struct
 {
-    char *buf;
-    size_t chlen, len, bufsize;
+    int *buf;
+    size_t len, bufsize;
 } nn_line_t;