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/new.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/krino/new.go') diff --git a/cmd/krino/new.go b/cmd/krino/new.go index 37f2418..ced9dc2 100644 --- a/cmd/krino/new.go +++ b/cmd/krino/new.go @@ -30,7 +30,7 @@ func cmdNew(g *globals, args []string, stdout, stderr io.Writer) int { fmt.Fprintf(stderr, "krino: %v\n", err) return 2 } - fmt.Fprintf(stdout, "created %s and added %q to include\n", xdg.Abbrev(file), name) + fmt.Fprintf(stdout, "created %s and added %q to include\n", display(xdg.Abbrev(file)), name) fmt.Fprintf(stdout, "edit its rules, then check them with: krino check %s\n", name) return 0 } -- cgit v1.3