Java Terminal Bold Output bold(String msg)

Here you can find the source of bold(String msg)

Description

bold

License

LGPL

Declaration

public static String bold(String msg) 

Method Source Code

//package com.java2s;
//License from project: LGPL 

public class Main {
    public static String bold(String msg) {
        StringBuilder sb = new StringBuilder("\033[1m");
        sb.append(msg).append("\033[0m");
        return sb.toString();
    }/*from w w w. j a  v a2  s . c om*/
}

Related

  1. bold(String str)
  2. boldcolorizeText(String str, String color)
  3. boldcolorizeText(String str, String fgc, String bgc)
  4. boldText(String str)