summaryrefslogtreecommitdiff
path: root/cmd/krino/colour.go
Commit message (Collapse)AuthorAgeFilesLines
* krino: coloured output, and --no-colorLukasz Kasprzak8 days1-0/+109
One palette type styles the plan table, warnings, headers, outcome counts, prompt keys, undo's refused steps and krino log's (undone), from the 16-colour ANSI palette plus bold and faint only. Widths are measured on the plain text, so columns line up; with colour off the output is unchanged. --no-color works before or after any subcommand, as NO_COLOR does. The two search-and-replace colourings are gone.