Move all UI initialization together
parent
ae332f6e8d
commit
ce53e309e6
19
chat.c
19
chat.c
|
@ -280,6 +280,15 @@ int main(int argc, char *argv[]) {
|
||||||
uiLoad(save);
|
uiLoad(save);
|
||||||
atexit(exitSave);
|
atexit(exitSave);
|
||||||
}
|
}
|
||||||
|
uiShowID(Network);
|
||||||
|
uiFormat(
|
||||||
|
Network, Cold, NULL,
|
||||||
|
"\3%dcatgirl\3\tis GPLv3 fwee softwawe ^w^ "
|
||||||
|
"code is avaiwable fwom https://git.causal.agency/catgirl",
|
||||||
|
Pink
|
||||||
|
);
|
||||||
|
uiFormat(Network, Cold, NULL, "Traveling...");
|
||||||
|
uiDraw();
|
||||||
|
|
||||||
#ifdef __OpenBSD__
|
#ifdef __OpenBSD__
|
||||||
char promises[64] = "stdio tty";
|
char promises[64] = "stdio tty";
|
||||||
|
@ -304,16 +313,6 @@ int main(int argc, char *argv[]) {
|
||||||
if (error) err(EX_OSERR, "pledge");
|
if (error) err(EX_OSERR, "pledge");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uiShowID(Network);
|
|
||||||
uiFormat(
|
|
||||||
Network, Cold, NULL,
|
|
||||||
"\3%dcatgirl\3\tis GPLv3 fwee softwawe ^w^ "
|
|
||||||
"code is avaiwable fwom https://git.causal.agency/catgirl",
|
|
||||||
Pink
|
|
||||||
);
|
|
||||||
uiFormat(Network, Cold, NULL, "Traveling...");
|
|
||||||
uiDraw();
|
|
||||||
|
|
||||||
int irc = ircConnect(bind, host, port);
|
int irc = ircConnect(bind, host, port);
|
||||||
|
|
||||||
#ifdef __OpenBSD__
|
#ifdef __OpenBSD__
|
||||||
|
|
Loading…
Reference in New Issue