projects
/
apps
/
madtty.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use nl_langinfo properly to detect if the charset is utf8
[apps/madtty.git]
/
madtty
/
madtty.h
diff --git
a/madtty/madtty.h
b/madtty/madtty.h
index
d36ddfb
..
8e8424a
100644
(file)
--- a/
madtty/madtty.h
+++ b/
madtty/madtty.h
@@
-30,10
+30,12
@@
#include <unistd.h>
#include <wchar.h>
#include <unistd.h>
#include <wchar.h>
+typedef struct madtty_t madtty_t;
+
void madtty_init_colors(void);
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);
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);
void madtty_keypress(madtty_t *, int keycode);
void madtty_draw(madtty_t *, WINDOW *win, int startrow, int startcol);
-
#endif /* MADTTY_MADTTY_H */
#endif /* MADTTY_MADTTY_H */