Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows.