da33d70c10ddaae6c3290cb900d7d0cc2b6ee01b hiram Tue Mar 17 13:57:24 2026 -0700 allow calculation of GC percent on the fly with code help from claude refs #35958 diff --git src/hg/hgc/togaClick.c src/hg/hgc/togaClick.c index de092e4773d..dadc3da2016 100644 --- src/hg/hgc/togaClick.c +++ src/hg/hgc/togaClick.c @@ -282,31 +282,34 @@ 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 */ +/* output span element for an expandable text element + * this opens a
element, you need to close it
after your text in + * this section has been output. + */ { printf(" %s:\n", target, prompt); printf("