mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 16:01:28 +00:00
Merge branch 'dev' of https://github.com/juewuy/ShellCrash into dev
This commit is contained in:
@@ -16,13 +16,15 @@ FULL_DASH="- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|||||||
# function to print content lines
|
# function to print content lines
|
||||||
# (using cursor jump)
|
# (using cursor jump)
|
||||||
content_line() {
|
content_line() {
|
||||||
echo -e " ${1}\033[${TABLE_WIDTH}G||"
|
local param="${1:-}"
|
||||||
|
echo -e " ${param}\033[${TABLE_WIDTH}G||"
|
||||||
}
|
}
|
||||||
|
|
||||||
# function to print sub content lines
|
# function to print sub content lines
|
||||||
# for printing accompanying instructions
|
# for printing accompanying instructions
|
||||||
sub_content_line() {
|
sub_content_line() {
|
||||||
echo -e " ${1}\033[${TABLE_WIDTH}G||"
|
local param="${1:-}"
|
||||||
|
echo -e " ${param}\033[${TABLE_WIDTH}G||"
|
||||||
content_line
|
content_line
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user