mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
(change version)
fixed a subtle spacing issue that sometimes makes some data change irc colors, now all spacing should protect against that.
This commit is contained in:
parent
d58622e6b5
commit
3bb4cf508c
1
inxi
1
inxi
|
@ -3021,6 +3021,7 @@ print_cpu_data()
|
||||||
IFS=","
|
IFS=","
|
||||||
a_cpu_working=(${A_CPU_DATA[i]})
|
a_cpu_working=(${A_CPU_DATA[i]})
|
||||||
IFS="$ORIGINAL_IFS"
|
IFS="$ORIGINAL_IFS"
|
||||||
|
# note: the first iteration will create a first space, for color code separation below
|
||||||
cpu_multi_clock_data="$cpu_multi_clock_data ${C1}($(( i + 1 )))${C2} ${a_cpu_working[1]} MHz${CN}"
|
cpu_multi_clock_data="$cpu_multi_clock_data ${C1}($(( i + 1 )))${C2} ${a_cpu_working[1]} MHz${CN}"
|
||||||
if [[ $i -gt 10 ]];then
|
if [[ $i -gt 10 ]];then
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue