mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37:46 +00:00
replace occurences of str collect
with str join
(#436)
This commit is contained in:
parent
2cc5b58209
commit
b7a45fbcca
29 changed files with 117 additions and 117 deletions
|
@ -14,9 +14,9 @@ seq 0 $height | each { |row|
|
|||
} else {
|
||||
$"(ansi -e '48;2;0;0;')($fgcolor)m(char sp)(ansi -e '0m')"
|
||||
}
|
||||
} | str collect)
|
||||
} | str join)
|
||||
print -n $"($row_data)(char newline)"
|
||||
} | str collect
|
||||
} | str join
|
||||
|
||||
def iter_inc [incr mult iter] {
|
||||
$incr + $mult * $iter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue