<commit_before>import React, { Component } from 'react'
import ReactTerminal from 'react-terminal-component'

class GeekMode extends Component {
  render() {
    return (
      <ReactTerminal />
    )
  }
}

export default GeekMode<commit_msg>add default message and promptSymbol<commit_after>import React, { Component } from 'react'
import ReactTerminal from 'react-terminal-component'
import {
  EmulatorState, OutputFactory,
  Outputs,
} from 'javascript-terminal'

class GeekMode extends Component {
  render() {
    const defaultState = EmulatorState.createEmpty();
    const defaultOutputs = defaultState.getOutputs();

    const newOutputs = Outputs.addRecord(
      defaultOutputs, OutputFactory.makeTextOutput(
        `Welcome to Geek Mode! You can browse CICT Online using
        commands. For a list of available commands, execute help`
      )
    );
    const emulatorState = defaultState.setOutputs(newOutputs);
    return (
      <ReactTerminal
        inputStr=''
        promptSymbol='~ guest#'
        emulatorState={emulatorState}
      />
    )
  }
}

export default GeekMode
{'fraction_non_alphanumeric': 0.08568824065633546, 'fraction_numerical': 0.0, 'mean_word_length': 3.4634146341463414, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2320097', 'n_tokens_mistral': 313, 'n_tokens_neox': 307, 'n_words': 84}