From e673118ae3b3779f56fa9a99bbae9a677717f5db Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 27 Apr 2026 04:29:24 -0400 Subject: Clean up status bar some, stop double-spacing. --- src/cmd.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'src/cmd.c') diff --git a/src/cmd.c b/src/cmd.c index 43f9fbe..154feaf 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -484,20 +484,26 @@ static void do_pool(void) { int count; for(p = 0; p < MAX_POOLS; p++) { - if(pools[p].screen_count == POOL_UNUSED) + scr_print_current("Pool "); + scr_cur_printnum(p); + if(pools[p].screen_count == POOL_UNUSED) { + scr_print_current(" unused\n"); break; + } count = 0; l = pools[p].free_list; - while(l != (line_t *)END_MARKER) + while(l != (line_t *)END_MARKER) { + l = l->next; count++; + } - scr_print_current("Pool "); - scr_cur_printnum(p); scr_print_current(" has "); scr_cur_printnum(count); - scr_print_current("lines\n"); + scr_print_current(" free lines, "); + scr_cur_printnum(pools[p].screen_count); + scr_print_current(" screens\n"); } } #endif -- cgit v1.2.3