invitation: display QR code black-on-white
This commit is contained in:
parent
612eebb5c3
commit
3c5de0a49f
1 changed files with 3 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue