diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-02 13:57:09 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-02 13:57:09 -0500 |
| commit | ba295fcffbd353e45297bbeec96f681bb4f2e00e (patch) | |
| tree | f389f30118fd48fb0c0b2eec9033b6ecc3ac4a7c /src/main.c | |
| parent | d9944f89414147a333652d4007864d13ac84c4d1 (diff) | |
| download | fujinet-chat-ba295fcffbd353e45297bbeec96f681bb4f2e00e.tar.gz | |
channel text goes to correct screen.
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -30,7 +30,6 @@ bool old_enabled=false; // were interrupts enabled for old vector void* old_vprced; // old PROCEED vector, restored on exit. unsigned short rxbuflen; unsigned int txbuflen; // TX buffer length -char channel[32] = DEF_CHANNEL; /* TODO: user modes (default +iw), fg/bg color... */ @@ -44,11 +43,12 @@ void get_config(void) { edbox_readline(url, sizeof(url)); scr_print_current("Nick?\n"); edbox_readline(usernick, sizeof(usernick)); - scr_print_current("Channel?\n"); - edbox_readline(channel, sizeof(channel)); + /* scr_print_current("Are these settings OK [Y/n]?\n"); - if(tolower(cgetc()) != 'n') break; + if(tolower(cgetc()) != 'n') + */ + break; } } @@ -128,6 +128,8 @@ void fn_disconnect(void) { int main(void) { OS.shflok = 0; // turn off shift-lock. OS.soundr = 0; // Turn off SIO beeping sound + OS.color2 = 0xc0; /* darkest green background */ + OS.color1 = 0x0c; /* bright text */ scr_init(); |
