-
Notifications
You must be signed in to change notification settings - Fork 0
07. UserInteraction Module
gabriel edited this page Jan 27, 2024
·
1 revision
The UserInteraction
module in Task Tempus integrates styling, input helpers, and countdown helpers for the main program logic. It handles user interactions and program interruption gracefully. Let's explore its methods and functionality.
-
get_dev_name
: Retrieves the developer's name. -
get_task
: Retrieves the task description. -
get_custom_percentages
: Retrieves custom completion percentages. -
get_hours_input
: Retrieves the amount of time available in hours. -
clear_terminal
: Clears the console screen. -
display_user_details
: Prints a formatted summary of user input details.
The inclusion of signal trapping ensures graceful program interruption with user-friendly messages.