ref: 785a31f51843ee3cd53860fa3d6d270acbc8f66c
dir: /mez.h/
typedef struct App App;
typedef struct Chan Chan;
typedef struct Net Net;
typedef struct Text Text;
struct App {
char *host, *user, *passwd;
};
struct Text {
Frame;
Rune *text;
uint textlen, topline, nlines, cap, *lines;
Rectangle scrollr, bodyr;
Image *screen, *cols[NCOL];
Screen *_screen;
};
struct Chan {
Text body, nicks;
Rune *topic;
};
struct Net {
Chan;
char *name, *host, *state, *nick, *user, *real;
Chan *channels;
int fd, id;
};