code: func newEscapeInterpreter(mode OutputMode) *escapeInterpreter {
  	ei := &escapeInterpreter{
  		state:      stateNone,
  		curFgColor: ColorDefault,
  		curBgColor: ColorDefault,
  		mode:       mode,
  	}
  	return ei
  }
docs: // newEscapeInterpreter returns an escapeInterpreter that will be able to parse
  // terminal escape sequences.