mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 01:11:35 +00:00
fixes for text interface
This commit is contained in:
parent
f9960a5fe2
commit
c61e5db6a9
1 changed files with 3 additions and 1 deletions
|
@ -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 = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue