Skip to content
Snippets Groups Projects
Commit fd649bf8 authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Make it a conditional *blank* line before the batch flag prompt

It's very tricky to defeat the auto-pause to have your own custom prompt at  rows-1. So going back to having  a blank line before the batch prompt.
parent a9214ac4
Branches
Tags
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2134 passed
...@@ -44,7 +44,7 @@ int sbbs_t::listfiles(uint dirnum, const char *filespec, FILE* tofile, long mode ...@@ -44,7 +44,7 @@ int sbbs_t::listfiles(uint dirnum, const char *filespec, FILE* tofile, long mode
long anchor=0,next; long anchor=0,next;
file_t* bf[BF_MAX]; /* bf is batch flagged files */ file_t* bf[BF_MAX]; /* bf is batch flagged files */
smb_t smb; smb_t smb;
ulong file_row[26]; ulong file_row[BF_MAX];
size_t longest = 0; size_t longest = 0;
if(!smb_init_dir(&cfg, &smb, dirnum)) if(!smb_init_dir(&cfg, &smb, dirnum))
...@@ -472,7 +472,7 @@ int sbbs_t::batchflagprompt(smb_t* smb, file_t** bf, ulong* row, uint total ...@@ -472,7 +472,7 @@ int sbbs_t::batchflagprompt(smb_t* smb, file_t** bf, ulong* row, uint total
if(usrdir[ulib][udir]==smb->dirnum) if(usrdir[ulib][udir]==smb->dirnum)
break; break;
cond_newline(); cond_blankline();
while(online) { while(online) {
bprintf(text[BatchFlagPrompt] bprintf(text[BatchFlagPrompt]
,ulib+1 ,ulib+1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment