From ba295fcffbd353e45297bbeec96f681bb4f2e00e Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 2 Mar 2026 13:57:09 -0500 Subject: channel text goes to correct screen. --- src/main.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 354369d..03e9a0a 100644 --- a/src/main.c +++ b/src/main.c @@ -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(); -- cgit v1.2.3