Skip to content

Commit

Permalink
Merge pull request #9 from AtelierArith/terasaki/fix-bug
Browse files Browse the repository at this point in the history
Delete `display(colored_text)`
  • Loading branch information
terasakisatoshi authored Dec 8, 2024
2 parents 079e9cd + 3afdb16 commit 7fcc35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TerminalGat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function gat(md::Markdown.MD)
colored_text = replace(colored_text, "julia>" => "\033[38;5;197mjulia>\033[0m")
# gat(@doc sin)
colored_text = replace(colored_text, "julia\e[0m\e[38;5;197m>\e[0m" => "\033[38;5;197mjulia>\033[0m")
display(colored_text)
# display(colored_text) <-- use for debugging.
print(colored_text)
end

Expand Down

0 comments on commit 7fcc35f

Please sign in to comment.