mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-26 03:02:00 +00:00
fix colors on installer prompt
This commit is contained in:
@@ -12,7 +12,7 @@ from openbb_terminal import terminal_controller
|
||||
def display_welcome_message():
|
||||
"""Display welcome message"""
|
||||
with open(PACKAGE_DIRECTORY / "session" / "banner.txt") as f:
|
||||
console.print(f.read(), style="blue")
|
||||
console.print(f.read(), style="menu")
|
||||
|
||||
|
||||
def get_user_input() -> Tuple[str, str, bool]:
|
||||
@@ -24,9 +24,9 @@ def get_user_input() -> Tuple[str, str, bool]:
|
||||
The user email, password and save login option.
|
||||
"""
|
||||
console.print("\nPlease enter your credentials:", style="info")
|
||||
email = console.input("> Email: ", style="blue")
|
||||
password = console.getpass("> Password: ", style="blue")
|
||||
save_str = console.input("> Keep me logged in (y/n): ", style="blue").lower()
|
||||
email = console.input("> Email: ", style="menu")
|
||||
password = console.getpass("> Password: ", style="menu")
|
||||
save_str = console.input("> Remember me? (y/n): ", style="menu").lower()
|
||||
save = False
|
||||
if save_str == "y":
|
||||
save = True
|
||||
|
||||
Reference in New Issue
Block a user