mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
bug fix, didn't strip out ^ properly
This commit is contained in:
parent
a2f1b02e53
commit
6dfa2422ce
4
inxi
4
inxi
|
@ -2714,7 +2714,7 @@ print_lines_basic()
|
||||||
line_starter="$line_x_starter"
|
line_starter="$line_x_starter"
|
||||||
fi
|
fi
|
||||||
# clean up forced connections, ie, stuff we don't want wrapping
|
# clean up forced connections, ie, stuff we don't want wrapping
|
||||||
print_string=${print_string//^/}
|
print_string=${print_string//\^/ }
|
||||||
print_screen_output "$line_starter$print_string"
|
print_screen_output "$line_starter$print_string"
|
||||||
print_string="$word$spacer" # needed to handle second word on new line
|
print_string="$word$spacer" # needed to handle second word on new line
|
||||||
temp_string=''
|
temp_string=''
|
||||||
|
@ -2733,7 +2733,7 @@ print_lines_basic()
|
||||||
else
|
else
|
||||||
line_starter="$line_x_starter"
|
line_starter="$line_x_starter"
|
||||||
fi
|
fi
|
||||||
print_string=${print_string//^/}
|
print_string=${print_string//\^/ }
|
||||||
print_screen_output "$line_starter$print_string"
|
print_screen_output "$line_starter$print_string"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue