From 55dd369da79d5ae9c9865b7237ea3534e6788379 Mon Sep 17 00:00:00 2001 From: Elias Dobrin Date: Sun, 19 May 2024 19:23:50 -0700 Subject: [PATCH] Update requirements.txt --- requirements.txt | 1 + softquake/main.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index a04fa9b..e62983b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,4 @@ numpy scipy matplotlib PyInputPlus +colorama diff --git a/softquake/main.py b/softquake/main.py index b42a87d..1f85297 100644 --- a/softquake/main.py +++ b/softquake/main.py @@ -294,7 +294,7 @@ class Style: sleep(0.5) dampening = pyip.inputMenu( ["Low", "Medium", "High"], - prompt=f"{Fore.LIGHTWHITE_EX}Select the {Fore.RED}spring {Fore.LIGHTWHITE_EX}dampening coefficient{Fore.LIGHTWHITE_EX}:\n", + prompt=f"{Fore.LIGHTWHITE_EX}Select the {Fore.RED}damper {Fore.LIGHTWHITE_EX}dampening coefficient{Fore.LIGHTWHITE_EX}:\n", lettered=True ) @@ -307,7 +307,7 @@ class Style: else: dampening = 0 - print(" Spring Dampening Diagram") + print(" Damper Dampening Diagram") print( rf""" {Fore.LIGHTWHITE_EX}{Back.BLUE}D{Back.RESET}{Fore.RED}--------[{Fore.LIGHTRED_EX}::{Fore.RED}|--------{Fore.LIGHTWHITE_EX}{Back.BLUE}O{Back.RESET} : {Fore.LIGHTGREEN_EX}{dampening:.2e} {Fore.LIGHTGREEN_EX}N*s/m{Fore.LIGHTWHITE_EX}