#ui total width = 57 chars top_border(){ echo -e "/=======================================================\ " } bottom_border(){ echo -e "\=======================================================/" } hr(){ echo -e "|-------------------------------------------------------|" } quit_footer(){ hr echo -e "| ${red}Q) Quit${default} | " bottom_border echo -e " KIAUH: $CURR_KIAUH_BRANCH" } print_header(){ top_border echo -e "| $(title_msg "~~~~~~~~~~~~~~~~~ [ KIAUH ] ~~~~~~~~~~~~~~~~~") |" echo -e "| $(title_msg " Klipper Installation And Update Helper ") |" echo -e "| $(title_msg "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") |" bottom_border } kiauh_update_msg(){ top_border echo -e "| ${yellow}There is a newer version of this script available!${default} | " echo -e "| ${yellow}Type 'update' if you want to update KIAUH now.${default} | " bottom_border }