diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-16 03:06:19 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-16 03:06:19 -0400 |
| commit | 545db9259365913f433f21f9c33f278fe96194d2 (patch) | |
| tree | 8d8a3183bace932731357a3755023279861ebe75 /src/main.c | |
| parent | 6d6c44d74e113ace4709f037316a2ec80753aa3a (diff) | |
| download | fujinet-chat-545db9259365913f433f21f9c33f278fe96194d2.tar.gz | |
Move screen statuses to the right, get rid of <>, add indicators for net activity and most-recent incoming IRC activity.
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -18,6 +18,7 @@ #include "edbox.h" #include "config.h" #include "keyclick.h" +#include "indic8.h" unsigned char err; // error code of last operation. unsigned char trip = 0; // if trip == 1, fujinet is asking us for attention. @@ -76,7 +77,9 @@ void txbuf_send(void) { if(tx_buf[txbuflen - 1] != '\n') tx_buf[txbuflen++] = '\n'; + ind_net_tx(); nwrite(conf->url, tx_buf, txbuflen); + ind_net_idle(); txbuf_init(); } @@ -180,6 +183,7 @@ void main(void) { while(1) { edbox_callback = cmd_execute; if(fn_connect()) { + ind_net_idle(); irc_register(); irc_loop(); } |
