summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xplugins/qr.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/qr.py b/plugins/qr.py
index af3d0165..25530248 100755
--- a/plugins/qr.py
+++ b/plugins/qr.py
@@ -34,7 +34,9 @@ class QrWindow(Win):
code.add_data(self.qr)
out = io.StringIO()
code.print_ascii(out, invert=self.inverted)
- self.addstr(" " + self.qr + "\n" + out.getvalue() + " ")
+ self.addstr(" " + self.qr + "\n")
+ self.addstr(out.getvalue(), to_curses_attr((15, 0)))
+ self.addstr(" ")
col = to_curses_attr(get_theme().COLOR_TAB_NORMAL)