fixes for text interface

This commit is contained in:
ThomasV 2020-02-08 12:33:07 +01:00
parent f9960a5fe2
commit c61e5db6a9

View file

@ -130,7 +130,7 @@ class ElectrumGui:
label = self.wallet.get_label(hist_item.txid)
if len(label) > 40:
label = label[0:37] + '...'
self.history.append(format_str % (time_str, label, format_satoshis(hist_item.value, whitespaces=True),
self.history.append(format_str % (time_str, label, format_satoshis(hist_item.delta, whitespaces=True),
format_satoshis(hist_item.balance, whitespaces=True)))
@ -331,6 +331,8 @@ class ElectrumGui:
curses.echo()
curses.endwin()
def stop(self):
pass
def do_clear(self):
self.str_amount = ''