Martin Ågren <martin.agren@xxxxxxxxx> writes: >> - allow callers to align 1st prefix (e.g. "error: ") with the >> leading indent for the second and subsequent lines by passing the >> second prefix with appropriate display width. > > I suspect this second prefix would always consist of > strlen(first_prefix) spaces? We should be able to construct it on the > fly, without any need for manual counting and human mistakes. I wouldn't be so bold to claim that, given especially that we are talking about i18n/l10n where byte count, character count and display width are all different even on a terminal with fixed-width font.