From a91b713dcec4d17f76155f0cd6b26903c59b9c19 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 14 Sep 2026 22:31:12 +0200 Subject: plan 10: stderr messages cannot be split by quoted newlines; config paths escaped; krino new refuses control characters; independent terminal oracle --- cmd/krino/sort.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/krino/sort.go') diff --git a/cmd/krino/sort.go b/cmd/krino/sort.go index 52875ed..4d5f509 100644 --- a/cmd/krino/sort.go +++ b/cmd/krino/sort.go @@ -170,7 +170,7 @@ func cmdSort(g *globals, names []string, stdout, stderr io.Writer) int { fmt.Fprintln(stdout) } printed = true - fmt.Fprintln(stdout, p.bold(fmt.Sprintf("krino: %s %s", d.Name, xdg.Abbrev(d.Root)))) + fmt.Fprintln(stdout, p.bold(fmt.Sprintf("krino: %s %s", display(d.Name), display(xdg.Abbrev(d.Root))))) } // C3: directory-level warnings go to stderr after the header // line above, not before it, so on a terminal they read as -- cgit v1.3