From d9a00af38048c71364952326c3039834bcfb47d0 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 11 Mar 2026 23:46:43 -0400 Subject: List screens with Start+L. --- src/irc.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'src/irc.c') diff --git a/src/irc.c b/src/irc.c index fa39df5..faf5f91 100644 --- a/src/irc.c +++ b/src/irc.c @@ -728,14 +728,15 @@ void list_screens(void) { scr_activate(scr_current); for(i = 0; i < MAX_SCREENS; i++) { - if(scr_status[i] != SCR_UNUSED) { - bold(); - scr_putc_active(i + '1'); - bold(); - scr_putc_active(':'); + bold(); + scr_putc_active(i + '1'); + bold(); + scr_putc_active(':'); + if(scr_status[i] == SCR_UNUSED) + scr_print_active(""); + else scr_print_active(scr_names[i]); - scr_eol_active(); - } + scr_eol_active(); } } -- cgit v1.2.3