fixes for text interface
This commit is contained in:
@@ -130,7 +130,7 @@ class ElectrumGui:
|
|||||||
label = self.wallet.get_label(hist_item.txid)
|
label = self.wallet.get_label(hist_item.txid)
|
||||||
if len(label) > 40:
|
if len(label) > 40:
|
||||||
label = label[0:37] + '...'
|
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)))
|
format_satoshis(hist_item.balance, whitespaces=True)))
|
||||||
|
|
||||||
|
|
||||||
@@ -331,6 +331,8 @@ class ElectrumGui:
|
|||||||
curses.echo()
|
curses.echo()
|
||||||
curses.endwin()
|
curses.endwin()
|
||||||
|
|
||||||
|
def stop(self):
|
||||||
|
pass
|
||||||
|
|
||||||
def do_clear(self):
|
def do_clear(self):
|
||||||
self.str_amount = ''
|
self.str_amount = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user