0be7b604dc94f877a813c77d1caffb6caa5ff267 hiram Wed Dec 10 11:06:58 2025 -0800 improved prompt tags for the expandable sectios refs #35776 diff --git src/hg/hgc/togaClick.c src/hg/hgc/togaClick.c index 9d8f957bbbf..de092e4773d 100644 --- src/hg/hgc/togaClick.c +++ src/hg/hgc/togaClick.c @@ -281,30 +281,36 @@ } void print_with_newlines(const char *str) { int line_length = 80; // Number of characters per line int length = strlen(str); int i = 0; while (i < length) { /* Print up to 80 characters or the remainder of the string */ int chars_to_print = (length - i < line_length) ? (length - i) : line_length; printf("%.*s
", chars_to_print, &str[i]); i += chars_to_print; } } +static void panelPrompt(char *target, char *prompt) +/* output span element for an expandable text element */ +{ +printf(" %s:\n", target, prompt); +printf("