Skip to content

Commit

Permalink
fix: set terminal in storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
cfoust committed Jan 12, 2024
1 parent 336a211 commit d06325e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/storybook.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ def transform_chapter(chapter):
elif filename.endswith(".cast"):
subprocess.check_call(
f"./storybook --cast {filename} -s {command}",
shell=True
shell=True,
env={"TERM": "xterm-256color"},
)
continue

Expand Down

0 comments on commit d06325e

Please sign in to comment.