Repository navigation
v2025.07.25.01
·
4 commits
to main
since this release
Added terminal cleanup functionality to ensure proper restoration of the terminal state upon script exit or interruption.
Included a trap command to handle SIGINT, SIGTERM, and EXIT signals, invoking the cleanup function on script termination or interruption.
Updated the cleanup function to disable line wrapping and restore the terminal screen using tput commands (smcup and rmcup).
Modified the script to provide a more graceful exit, including a goodbye message when the script terminates.