moby/pkg/jsonmessage
Ian Campbell 3c233b13a0 pkg/jsonmessage: Encode ANSI ESC directly as \x1b rather than via fmt as %c
This seems clearer to me and avoids a miniscule amount of string formatting.

I have deliberately not changed the tests here to avoid the possibility of
changing both wrongly.

Signed-off-by: Ian Campbell <ian.campbell@docker.com>
2016-11-11 11:42:38 +00:00
..
jsonmessage.go pkg/jsonmessage: Encode ANSI ESC directly as \x1b rather than via fmt as %c 2016-11-11 11:42:38 +00:00
jsonmessage_test.go pkg/jsonmessage: Use terminfo rather than open coding ANSI escape codes 2016-11-11 11:40:53 +00:00