Software /
code /
clix
Changeset
143:6b1fc3238318
clix.watch_pep: Use colors with --pretty
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 16 Nov 2020 17:17:54 +0100 |
parents | 142:05ec7103c0f7 |
children | 144:febc3992bee6 |
files | clix/watch_pep.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/clix/watch_pep.lua Mon Nov 16 17:16:01 2020 +0100 +++ b/clix/watch_pep.lua Mon Nov 16 17:17:54 2020 +0100 @@ -31,7 +31,7 @@ if payload.attr.xmlns == "urn:xmpp:json:0" then print(payload:get_tex()) elseif opts.pretty then - print(payload:indent(nil, " ")); + print(payload:indent(nil, " "):pretty_print()); else print(payload); end