From b2911d0446e4f9f8c27b5b4c20a1fc07540e9fb6 Mon Sep 17 00:00:00 2001 From: Bobbi Webber-Manners Date: Wed, 12 Aug 2020 23:31:20 -0400 Subject: [PATCH] EDIT: Slight speedup for the buffer list --- apps/edit.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/edit.c b/apps/edit.c index 053264a..5b4dc2a 100644 --- a/apps/edit.c +++ b/apps/edit.c @@ -4,8 +4,10 @@ // Bobbi July-Aug 2020 ///////////////////////////////////////////////////////////////////////////// -// TODO: Bug - cursor down at EOF succeeds when it should fail // TODO: Reinstate some form of local cut/copy/paste -- faster!!! +// TODO: Spinner for file/load save +// TODO: Update help - needs two pages +// TODO: Bug - cursor down at EOF succeeds when it should fail // TODO: Search options - ignore case, complete word. // Note: Use my fork of cc65 to get a flashing cursor!! @@ -1809,10 +1811,11 @@ void buffer_list(void) { gotoxy(0, ++row); } change_aux_bank(i); - cprintf("[%03u] %05u | %c | %3u | %s\r", - i, DATASIZE(), (status[0] ? '*' : ' '), status[2], filename); - if (DATASIZE() > 0) + if (DATASIZE() > 0) { + cprintf("[%03u] %05u | %c | %3u | %s\r", + i, DATASIZE(), (status[0] ? '*' : ' '), status[2], filename); gotoxy(0, ++row); + } if (row == 22) { cprintf("[Press Any Key]"); cgetc();