mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
do not refresh after main loop finished
This commit is contained in:
parent
0fe5e5c516
commit
2216b6e127
1 changed files with 4 additions and 3 deletions
|
@ -136,6 +136,7 @@ class ElectrumGui:
|
|||
self.stdscr.addstr( i+2, 1, msg[0:self.maxx - 2], curses.A_REVERSE if i == (self.pos % self.maxpos) else 0)
|
||||
|
||||
def refresh(self):
|
||||
if self.tab == -1: return
|
||||
self.stdscr.border(0)
|
||||
self.print_balance()
|
||||
self.stdscr.refresh()
|
||||
|
@ -224,9 +225,9 @@ class ElectrumGui:
|
|||
self.run_tab(4, self.print_banner, self.run_banner_tab)
|
||||
|
||||
tty.setcbreak(sys.stdin)
|
||||
curses.nocbreak();
|
||||
self.stdscr.keypad(0);
|
||||
curses.echo()
|
||||
curses.nocbreak()
|
||||
self.stdscr.keypad(0)
|
||||
curses.echo()
|
||||
curses.endwin()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue