]> git.ipfire.org Git - thirdparty/systemd.git/commit
journalctl: don't print QR codes if we can't/shan't use colors
authorLennart Poettering <lennart@poettering.net>
Thu, 11 Jun 2020 10:34:31 +0000 (12:34 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 25 Jun 2020 07:28:18 +0000 (09:28 +0200)
commit0523022d5b021db64238d7005f98ba31d6da8e92
tree157b5eb00e0434a195081bbfc1dda377bc459114
parent9bff141052befea7cf66d045ff8869b4308e8a7a
journalctl: don't print QR codes if we can't/shan't use colors

We need them to display things properly, hence treat color-less
terminals the same way as UTF-8-less systems: avoid the QR code.
src/journal/journal-qrcode.c
src/journal/journal-qrcode.h
src/journal/journalctl.c