From d4d8b2b91f7ba000d97a8b2aab48c85000c11314 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Wed, 4 Oct 2023 11:44:49 +0200 Subject: New upstream version 1.44.2 --- src/libnmc-base/nm-client-utils.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/libnmc-base/nm-client-utils.c') diff --git a/src/libnmc-base/nm-client-utils.c b/src/libnmc-base/nm-client-utils.c index 4ce1ac6c..b052a307 100644 --- a/src/libnmc-base/nm-client-utils.c +++ b/src/libnmc-base/nm-client-utils.c @@ -712,6 +712,9 @@ nmc_print_qrcode(const char *str) bool bottom = qrcodegen_getModule(qrcode, x, y + 1); if (top) { g_print(bottom ? " " : "\u2584"); + } else if (y > size) { + /* Print the last line (the bottom QR border) in light gray, no bg color */ + g_print("\033[0;37m\u2580"); } else { g_print(bottom ? "\u2580" : "\u2588"); } -- cgit 1.3.0-6-gf8a5