Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa66292 commit e93b63eCopy full SHA for e93b63e
vhc
@@ -16,7 +16,7 @@ function config {
16
17
while read -r string
18
do [[ "${string:0:4}" == "vhc:" ]] && config "${string}"
19
- [[ ${#string} -gt ${size} ]] && size=${#string}
+ [[ ${#string} -gt ${size} ]] && size=${#string}
20
$_e "${string}" >> "${temporary}"
21
done
22
@@ -40,15 +40,17 @@ function str_repeat {
40
}
41
42
function line {
43
- str_repeat "$((size + adjust))" "$1"
+ [ $# -eq 1 ] \
44
+ && str_repeat "$((size + adjust))" "$1" \
45
+ || $_e "${corner[$1]}$(line "${lines[$1]}")${corner[$2]}"
46
47
48
function line_top {
- $_e "${corner[0]}$(line "${lines[0]}")${corner[1]}"
49
+ line 0 1
50
51
52
function line_bottom {
- $_e "${corner[2]}$(line "${lines[2]}")${corner[3]}"
53
+ line 2 3
54
55
56
trap line_top \
0 commit comments