Exemple #1
0
 public Emulator(ICharacterTerminal term, InputStream inps, OutputStream outps) {
   setTerm(term);
   setInputStream(inps);
   this.outputStream = outps;
   this.nr_columns = term.getColumnCount();
   this.nr_rows = term.getRowCount();
 }
Exemple #2
0
 /** Reset states, but do NO disconnect */
 public void reset() {
   nr_columns = term.getColumnCount();
   nr_rows = term.getRowCount();
 }