@Test public void testState_Str() { term.write("\u001bP!"); term.write("\u001bP" + (char)31); }
public synchronized boolean write(String d) { d = utf8_decode(d); for (int c : d.toCharArray()) { if (vt100_write(c)) { continue; } if (dumb_write(c)) { continue; } if (c <= 0xffff) { dumb_echo(c); } } return true; }
Terminal { public synchronized boolean write(String d) { d = utf8_decode(d); for (int c : d.toCharArray()) { if (vt100_write(c)) { continue; } if (dumb_write(c)) { continue; } if (c <= 0xffff) { dumb_echo(c); } } return true; } }
Terminal { public synchronized boolean write(String d) { d = utf8_decode(d); for (int c : d.toCharArray()) { if (vt100_write(c)) { continue; } if (dumb_write(c)) { continue; } if (c <= 0xffff) { dumb_echo(c); } } return true; } Terminal();  Terminal(int width, int height); }
Terminal { public synchronized boolean write(String d) { d = utf8_decode(d); for (int c : d.toCharArray()) { if (vt100_write(c)) { continue; } if (dumb_write(c)) { continue; } if (c <= 0xffff) { dumb_echo(c); } } return true; } Terminal();  Terminal(int width, int height); synchronized boolean setSize(int w, int h); synchronized String read(); synchronized String pipe(String d); synchronized boolean write(String d); synchronized String dump(); String toString(); }
Terminal { public synchronized boolean write(String d) { d = utf8_decode(d); for (int c : d.toCharArray()) { if (vt100_write(c)) { continue; } if (dumb_write(c)) { continue; } if (c <= 0xffff) { dumb_echo(c); } } return true; } Terminal();  Terminal(int width, int height); synchronized boolean setSize(int w, int h); synchronized String read(); synchronized String pipe(String d); synchronized boolean write(String d); synchronized String dump(); String toString();  }