brcosta / clj-extras-plugin

Clojure Extras IntelliJ Plugin
https://plugins.jetbrains.com/plugin/18108-clojure-extras/
Apache License 2.0
56 stars 12 forks source link

Enhancement: add support ANSI escape codes for terminal output #9

Closed mikeananev closed 2 years ago

mikeananev commented 2 years ago

Problem description: Currently, clj-extras-plugin works as dumb terminal when using println function and doesn't support ANSI escape codes. These codes are used in many Clojure libraries to make color output.

Steps to reproduce:

  1. Create new empty project and add hashp library as dependency. This library uses ANSI terminal codes during output to console.
  2. Make color output to REPL console using ANSI escape codes #p (println "hello world!")

Current behaviour:

Снимок экрана 2022-01-20 в 08 26 26

Expected behaviour:

Снимок экрана 2022-01-20 в 08 25 07
brcosta commented 2 years ago

Should be fixed it on master (v0.5.1), we just need to wait for Jetbrains to approve it on the marketplace :)

mikeananev commented 2 years ago

Got update. Fixed! Thank you.