EDIT: Slight speedup for the buffer list

This commit is contained in:
Bobbi Webber-Manners 2020-08-12 23:31:20 -04:00
parent 235cacc036
commit b2911d0446

View File

@ -4,8 +4,10 @@
// Bobbi July-Aug 2020 // 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: 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. // TODO: Search options - ignore case, complete word.
// Note: Use my fork of cc65 to get a flashing cursor!! // Note: Use my fork of cc65 to get a flashing cursor!!
@ -1809,10 +1811,11 @@ void buffer_list(void) {
gotoxy(0, ++row); gotoxy(0, ++row);
} }
change_aux_bank(i); change_aux_bank(i);
cprintf("[%03u] %05u | %c | %3u | %s\r", if (DATASIZE() > 0) {
i, DATASIZE(), (status[0] ? '*' : ' '), status[2], filename); cprintf("[%03u] %05u | %c | %3u | %s\r",
if (DATASIZE() > 0) i, DATASIZE(), (status[0] ? '*' : ' '), status[2], filename);
gotoxy(0, ++row); gotoxy(0, ++row);
}
if (row == 22) { if (row == 22) {
cprintf("[Press Any Key]"); cprintf("[Press Any Key]");
cgetc(); cgetc();