changed input layout
This commit is contained in:
parent
20361590ff
commit
0707f667f1
@ -102,7 +102,7 @@ class User:
|
|||||||
|
|
||||||
while True:
|
while True:
|
||||||
print('Are you sure you want to delete this account? (y/n)\n(this will burn all coins available in this account) (y/n)')
|
print('Are you sure you want to delete this account? (y/n)\n(this will burn all coins available in this account) (y/n)')
|
||||||
confirm = input('> ')
|
confirm = input('>>: ')
|
||||||
if confirm == 'y' or confirm == 'Y':
|
if confirm == 'y' or confirm == 'Y':
|
||||||
print('Deleting account..')
|
print('Deleting account..')
|
||||||
break
|
break
|
||||||
|
@ -159,7 +159,6 @@ class MenuHelper:
|
|||||||
case "Check balance":
|
case "Check balance":
|
||||||
print(f"Your balance is: {taskHelper.getBalance(self)}")
|
print(f"Your balance is: {taskHelper.getBalance(self)}")
|
||||||
|
|
||||||
|
|
||||||
case "Check the pool":
|
case "Check the pool":
|
||||||
transactions = utilityHelper.loadFile("../data/transaction_pool.dat")
|
transactions = utilityHelper.loadFile("../data/transaction_pool.dat")
|
||||||
x = 0
|
x = 0
|
||||||
@ -206,7 +205,7 @@ class MenuHelper:
|
|||||||
self.printMenu(menu)
|
self.printMenu(menu)
|
||||||
# make input an interger
|
# make input an interger
|
||||||
try:
|
try:
|
||||||
choice = int(input())
|
choice = int(input(">>: "))
|
||||||
except:
|
except:
|
||||||
utilityHelper.clearScreen()
|
utilityHelper.clearScreen()
|
||||||
print("Wrong input, try again")
|
print("Wrong input, try again")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user