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