mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
generate-alt-random: fix “new style” cube escape
It’s “38:5:<idx>”, not “38:2:5:<idx>”.
This commit is contained in:
parent
1d7595d1db
commit
21cb4671a4
1 changed files with 1 additions and 1 deletions
|
|
@ -116,7 +116,7 @@ def main():
|
|||
out.write(f'\033[{base};5;{idx}m')
|
||||
else:
|
||||
# New-style (sub-parameter based)
|
||||
out.write(f'\033[{base}:2:5:{idx}m')
|
||||
out.write(f'\033[{base}:5:{idx}m')
|
||||
|
||||
elif color_variant == ColorVariant.RGB:
|
||||
do_bg = random.randrange(2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue