public ANSIBuffer attrib(final String str, final int code) {
    ansiBuffer.append(ANSICodes.attrib(code)).append(str).append(ANSICodes.attrib(ANSICodes.OFF));
    plainBuffer.append(str);

    return this;
  }
A buffer that can contain ANSI text.

@author <a href="mailto:mwp1@cornell.edu">Marc Prud'hommeaux</a>
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/shell/jline/ANSIBuffer.java