Coder Social home page Coder Social logo

ansi-color-enabler's Introduction

ANSI-color-enabler

윈도우10의 CMD와 PowerShell의 ANSI Color설정을 활성화 합니다.

상세 설명

C언어는 프로그램에서 WinAPI를 사용해 글자색을 표현할 수 있습니다.
그런데 Java에서는 콘솔에 글자색을 직접적으로 표현할 수가 없어, ANSI escape sequence를 사용해 간접적으로 표현합니다.

ANSI Color를 Unix, Linux에서는 기본적으로 지원하나 Windows에서는 지원하지 않습니다.
따라서 JANSI나 JCDP같은 서드파티 코드를 추가해야 윈도에서 사용할 수 있었습니다.
그러나 드디어, Windows10에서 약간의 설정으로 ANSI Color가 기본 지원하게 되었어요.

이 프로그램은 위의 '약간의 설정'을 해주는 것으로 레지스트리에 DWORD값 1개를 추가합니다.
만약, 추가한 후 cmd나 PowerShell에서 적용이 안된다면 컴퓨터를 재부팅 해주세요.

ansi-color-enabler's People

Contributors

synml avatar

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.