mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-02 07:07:46 +00:00
parent
fe5c307390
commit
6f9d6250d4
28 changed files with 104 additions and 101 deletions
|
@ -9,7 +9,7 @@ let stamp = 'Nu'
|
|||
seq 0 $height | par-each { # create these in parallel
|
||||
let row_data = (seq 0 $width | each { |col|
|
||||
let fgcolor = 2 + 2 * $col
|
||||
if $fgcolor > $stamp_start && $fgcolor < $stamp_end {
|
||||
if $fgcolor > $stamp_start and $fgcolor < $stamp_end {
|
||||
$"(ansi -e '48;2;0;0;')($fgcolor)m($stamp)(ansi -e '0m')"
|
||||
} else {
|
||||
$"(ansi -e '48;2;0;0;')($fgcolor)m (ansi -e '0m')"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue