mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-29 20:53:54 +00:00
update clear prompt
This commit is contained in:
@@ -150,8 +150,8 @@ class AccountController(BaseController):
|
||||
ns_parser = self.parse_simple_args(parser, _)
|
||||
if ns_parser:
|
||||
i = console.input(
|
||||
"[red]This action is irreversible!\n"
|
||||
"Are you sure you want to permanently delete your data? (y/n): [/red]"
|
||||
"[red]This action is irreversible![/red]\n"
|
||||
"> Are you sure you want to permanently delete your data? (y/n): "
|
||||
)
|
||||
if i.lower() in ["y", "yes"]:
|
||||
console.print("")
|
||||
|
||||
@@ -360,12 +360,12 @@ class TerminalController(BaseController):
|
||||
"""Process account command."""
|
||||
from openbb_terminal.account.account_controller import AccountController
|
||||
|
||||
# if User.is_guest():
|
||||
# console.print(
|
||||
# "[info]You need to be logged in to use this menu.\n"
|
||||
# "Create an account here https://my.openbb.co/register.[/info]\n"
|
||||
# )
|
||||
# return
|
||||
if User.is_guest():
|
||||
console.print(
|
||||
"[info]You need to be logged in to use this menu.\n"
|
||||
"Create an account here https://my.openbb.co/register.[/info]\n"
|
||||
)
|
||||
return
|
||||
self.queue = self.load_class(AccountController, self.queue)
|
||||
|
||||
def call_keys(self, _):
|
||||
|
||||
Reference in New Issue
Block a user