1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--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