thheller / thheller/shadow-cljs

Don't colorize output running in Powershell

Open
#596 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Clojure
Stars
2.4k
Forks
192
Avg merge
3h 11m
Merged PRs (30d)
1

Description

Should be able to detect that at runtime. Output is horrid otherwise.

------ WARNING #1 - :undeclared-var --------------------------------------------
 File: C:\Users\thheller\code\tmp\shadow-0-compiled\src\workshop\client.cljs:4:27
--------------------------------------------------------------------------------
   1 | (ns workshop.client)
   2 | 
   3 | (defn run []
   4 |   (js/console.log "start" (Date.)))
---------------------------------^----------------------------------------------
 Use of undeclared Var workshop.client/Date
--------------------------------------------------------------------------------
   5 | 
   6 | (defn ^:dev/after-load start! []
   7 |   (run))
   8 | 
--------------------------------------------------------------------------------

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a source file or test. Start by locating the warning-output path and its colorization logic, then identify how the runtime environment can distinguish PowerShell; done means warning output in PowerShell no longer contains ANSI color codes while other environments retain their behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure, powershell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.