You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you run an ink program w/ deno it doesn't output colors. I've confirmed that deno can output colors on my terminal and tried it in different terminals.
importReactfrom"npm:react";import{render,Text}from"npm:ink";render(<Textcolor="red">This should be red</Text>);console.log("%cThis *will* be red","color: red");
You can run this by saving it in ink-test.tsx and invoking deno run --allow-read ink-test.tsx. Has anyone else seen this? I'm not sure if I'm just messing something up or if there's some other underlying issue. I'll continue testing...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When you run an ink program w/ deno it doesn't output colors. I've confirmed that deno can output colors on my terminal and tried it in different terminals.
You can run this by saving it in
ink-test.tsx
and invokingdeno run --allow-read ink-test.tsx
. Has anyone else seen this? I'm not sure if I'm just messing something up or if there's some other underlying issue. I'll continue testing...Beta Was this translation helpful? Give feedback.
All reactions