Change color of java console output

后端 未结 4 1764
无人及你
无人及你 2020-12-30 12:14

I was wondering if there is someway for me to set the color of the text that I output to the console in Java. It does not matter if it is system specific as the program will

4条回答
  •  醉话见心
    2020-12-30 12:36

    Not directly related to Java console output, but if you're looking to use ANSI colors in Kotlin console output, this is a great library to use - https://github.com/importre/crayon

提交回复
热议问题