Exemplo n.º 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();
 }
Exemplo n.º 2
0
 /** Reset states, but do NO disconnect */
 public void reset() {
   nr_columns = term.getColumnCount();
   nr_rows = term.getRowCount();
 }