public static String setmode(final int mode) {
      return ESC + "[=" + mode + "h";
    }
Sets the screen mode. The mode will be one of the following values:

<pre>
mode     description
----------------------------------------
  0      40 x 148 x 25 monochrome (text)
  1      40 x 148 x 25 color (text)
  2      80 x 148 x 25 monochrome (text)
  3      80 x 148 x 25 color (text)
  4      320 x 148 x 200 4-color (graphics)
  5      320 x 148 x 200 monochrome (graphics)
  6      640 x 148 x 200 monochrome (graphics)
  7      Enables line wrapping
 13      320 x 148 x 200 color (graphics)
 14      640 x 148 x 200 color (16-color graphics)
 15      640 x 148 x 350 monochrome (2-color graphics)
 16      640 x 148 x 350 color (16-color graphics)
 17      640 x 148 x 480 monochrome (2-color graphics)
 18      640 x 148 x 480 color (16-color graphics)
 19      320 x 148 x 200 color (256-color graphics)
</pre>
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/shell/jline/ANSIBuffer.java