ANSI for Java

exoad

exoad

Posted on July 15, 2023

ANSI for Java

ANSI for Java

Spice up your Java programs with ANSI

I created a simple library for Java developers to utilize in their projects to make their console messages prettier!

You might think to use interpolation to put ANSI codes manually, but what's the hassle! Using ansicolors you can utilize the potential of method cascading to condense the ANSI formatting into just a few lines!

It is as simple as doing the following:

System.out.println(jm_Ansi.make().red_bg().white().blink_fast().toString("ERROR"!));
Enter fullscreen mode Exit fullscreen mode

Everything is also designed to be as customizable as possible, as more features to render the characters will come out soon.

Want to turn off ANSI coloring? Without having to include ugly conditional checks or do a complete refactoring, there is a single toggle you can utilize to disable ANSI formatting at an instant.

Check it out here: https://github.com/exoad/ansicolor

:)

💖 💪 🙅 🚩
exoad
exoad

Posted on July 15, 2023

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

ANSI for Java
java ANSI for Java

July 15, 2023