Skip to content

Commit 415a622

Browse files
committed
Comments added
1 parent 0f0fe1f commit 415a622

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

shellmenu.sh

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ menuHeadingBGClr="$clrBlue"
2626
submenuFGClr="$clrCyan"
2727
submenuBGClr="$clrBlack"
2828
delimiter=⊕
29+
formattedTop=""
30+
formattedBottom=""
31+
formattedMiddle=""
2932

3033
############################
3134
############################
@@ -558,9 +561,18 @@ exitGently () {
558561
exit 1
559562
}
560563

561-
formattedTop=""
562-
formattedBottom=""
563-
formattedMiddle=""
564+
#################################################
565+
# Draw title graphic
566+
# Globals:
567+
# formattedTop - top line of graphic
568+
# formattedMiddle - middle line of graphic
569+
# formattedBottom - bottom line of graphic
570+
# tput colors
571+
# Arguments:
572+
# $1: menu head description
573+
# Outputs:
574+
# The menu head graphic to stdout
575+
#################################################
564576
draw_rounded_square() {
565577

566578
# Menu title cache

0 commit comments

Comments
 (0)