Git Product home page Git Product logo

Comments (2)

venantius avatar venantius commented on July 28, 2024 1

I'm afraid I'm pretty ignorant as to the workings of powershell or most Windows terminal options. However, the color highlighting in Ultra at the terminal level is powered by ANSI escape codes, which Windows supposedly only started supporting fairly recently.

Anyways, to be clear - this isn't an OS issue, it's a specific reader feature present in a terminal emulator that knows how to handle the relevant escape codes (which are otherwise just plain old text characters). Some terminals will support it out-of-the-box, others may require additional plugins or settings to be toggled to turn it on.

As this isn't a bug per say I'm going to close this issue since hopefully the above explanation is sufficient to point anyone having difficulty in the right direction to figuring out a relevant solution for their given terminal of choice. Feel free to comment if you (issue creator or more general future reader) are still having difficulties and I'll try to help.

from ultra.

bpringe avatar bpringe commented on July 28, 2024

I just want to give a solution I just came across with some research and trial and error, in case others using VSCode have this issue. I downloaded ANSICON, then in my VSCode User Settings, I set the following values so that I could run powershell from ansicon for the integrated terminal.

"terminal.integrated.shell.windows": "C:\\Program Files\\ansi184\\x64\\ansicon.exe", // make this your path to ansicon
"terminal.integrated.shellArgs.windows": ["powershell"]

Now the color feature of Ultra works in the integrated powershell terminal in VSCode. However, is there a way to make this work by default on Windows? I'm all about making other avenues of entry for new Clojurians easier (i.e. Windows users). Thanks for the great plugin.

from ultra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.