mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37: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 | each { |row|
|
||||
let row_data = (seq 0 $width | each { |col|
|
||||
let fgcolor = (iter_inc 2 2 $col)
|
||||
if $fgcolor > 200 && $fgcolor < 210 {
|
||||
if $fgcolor > 200 and $fgcolor < 210 {
|
||||
$"(ansi -e '48;2;0;0;')($fgcolor)m($stamp)(ansi -e '0m')"
|
||||
} else {
|
||||
$"(ansi -e '48;2;0;0;')($fgcolor)m(char sp)(ansi -e '0m')"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue