Browse Source

curses text UI: displays Unicode more correctly in History/Receive/Contacts/Wall tabs

283
Michael Kramlich 11 years ago
parent
commit
0447af4593
  1. 6
      gui/text.py

6
gui/text.py

@ -24,6 +24,9 @@ class ElectrumGui:
self.wallet = Wallet(storage)
self.wallet.start_threads(network)
locale.setlocale(locale.LC_ALL, '')
self.encoding = locale.getpreferredencoding()
self.stdscr = curses.initscr()
curses.noecho()
curses.cbreak()
@ -37,9 +40,6 @@ class ElectrumGui:
self.set_cursor(0)
self.w = curses.newwin(10, 50, 5, 5)
locale.setlocale(locale.LC_ALL, '')
self.encoding = locale.getpreferredencoding()
set_verbosity(False)
self.tab = 0
self.pos = 0

Loading…
Cancel
Save