This Product Ideas board is currently undergoing updates, but please continue to submit your ideas.
Allow tabs ('\t') and newlines ('\n') in the prompt argument to input.textAsync.
Multiline prompts would make longer prompts more readable. The following is, quite frankly, a mess:
Tabs and newlines in the prompt string are not shown. The above mess is generated by the following code:
const grps = ['Update Projects entry', 'Topic', 'Database', 'Results', 'Dev build', 'Initial meeting', 'Demo', 'Data sharing', 'Contouring', 'Model development', 'Interim analysis', 'Final analysis', 'Study proposal', 'Study protocol', 'Grant', 'Prospective data collection', 'CRA', 'REB', 'Abstract (will be published on its own)', 'Manuscript', 'Poster', 'Presentation', 'NDA', 'Privacy/security review', 'Cover letter'].sort();
var origPrompt = 'Record group to create. Choose a number.\n';
for(var i = 0; i < grps.length; ++i) {
origPrompt += (i + 1) + '.\t' + grps[i] + '\n';
}
origPrompt += 'Group number: '
await input.textAsync(origPrompt);
Users who want more formatting options in scripts, especially for longer text prompts.
-
Note that this wouldn't be an issue if radio button inputs were supported.