Use nl_langinfo properly to detect if the charset is utf8
[apps/madtty.git] / madtty / madtty.h
index d36ddfb..8e8424a 100644 (file)
 #include <unistd.h>
 #include <wchar.h>
 
+typedef struct madtty_t madtty_t;
+
 void madtty_init_colors(void);
-int madtty_color_pair(int fg, int bg);
+void madtty_init_vt100_graphics(void);
 
-typedef struct madtty_t madtty_t;
+int madtty_color_pair(int fg, int bg);
 
 madtty_t *madtty_create(int rows, int cols);
 void madtty_resize(madtty_t *, int rows, int cols);
@@ -45,5 +47,4 @@ int madtty_process(madtty_t *);
 void madtty_keypress(madtty_t *, int keycode);
 void madtty_draw(madtty_t *, WINDOW *win, int startrow, int startcol);
 
-
 #endif /* MADTTY_MADTTY_H */