Thanks to visit codestin.com
Credit goes to github.com

Skip to content

darvil82/java-terminal-text-formatter

Repository files navigation

Terminal Text Formatter

Maven Central Version APIdia

Text formatting utilities to easily format text in the terminal for Java.

Usage Example

var text = TextFormatter.of("blue text here, ", TrueColor.of(50, 50, 255))
   .addFormat(FormatOption.BOLD, FormatOption.ITALIC)
   .concat(TextFormatter.of("now yellow", SimpleColor.BRIGHT_YELLOW))
   .concat(" and back to blue");

System.out.println(text);

Javadocs for the latest stable version are available online hosted on APIdia and on GitHub pages.

Installation

The package is currently available on Maven Central.

Add the following to your dependencies block:

implementation("io.github.darvil82:terminal-text-formatter:+")

Note

The + symbol is a wildcard that will automatically use the latest version of the package. You can also specify a specific version.

About

Text formatting utilities to easily format text on the terminal for Java.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 2

  •  
  •  

Languages