@Test public void testDUMB_ECHO() { term.write("" + (char)16); term.write("" + (char)8); term.write("" + (char)9); }
private void dumb_echo(int c) { if (eol) { if (vt100_mode_autowrap) { ctrl_CR(); ctrl_LF(); } else { cx = cursor_line_width(c)[1] - 1; } } if (vt100_mode_insert) { scroll_line_right(cy, cx); } if (vt100_charset_is_single_shift) { vt100_charset_is_single_shift = false; } else if (vt100_charset_is_graphical && ((c & 0xffe0) == 0x0060)) { c = vt100_charset_graph[c - 0x60]; } poke(cy, cx, new int[] { attr | c }); cursor_right(); }
Terminal { private void dumb_echo(int c) { if (eol) { if (vt100_mode_autowrap) { ctrl_CR(); ctrl_LF(); } else { cx = cursor_line_width(c)[1] - 1; } } if (vt100_mode_insert) { scroll_line_right(cy, cx); } if (vt100_charset_is_single_shift) { vt100_charset_is_single_shift = false; } else if (vt100_charset_is_graphical && ((c & 0xffe0) == 0x0060)) { c = vt100_charset_graph[c - 0x60]; } poke(cy, cx, new int[] { attr | c }); cursor_right(); } }
Terminal { private void dumb_echo(int c) { if (eol) { if (vt100_mode_autowrap) { ctrl_CR(); ctrl_LF(); } else { cx = cursor_line_width(c)[1] - 1; } } if (vt100_mode_insert) { scroll_line_right(cy, cx); } if (vt100_charset_is_single_shift) { vt100_charset_is_single_shift = false; } else if (vt100_charset_is_graphical && ((c & 0xffe0) == 0x0060)) { c = vt100_charset_graph[c - 0x60]; } poke(cy, cx, new int[] { attr | c }); cursor_right(); } Terminal();  Terminal(int width, int height); }
Terminal { private void dumb_echo(int c) { if (eol) { if (vt100_mode_autowrap) { ctrl_CR(); ctrl_LF(); } else { cx = cursor_line_width(c)[1] - 1; } } if (vt100_mode_insert) { scroll_line_right(cy, cx); } if (vt100_charset_is_single_shift) { vt100_charset_is_single_shift = false; } else if (vt100_charset_is_graphical && ((c & 0xffe0) == 0x0060)) { c = vt100_charset_graph[c - 0x60]; } poke(cy, cx, new int[] { attr | c }); cursor_right(); } 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 { private void dumb_echo(int c) { if (eol) { if (vt100_mode_autowrap) { ctrl_CR(); ctrl_LF(); } else { cx = cursor_line_width(c)[1] - 1; } } if (vt100_mode_insert) { scroll_line_right(cy, cx); } if (vt100_charset_is_single_shift) { vt100_charset_is_single_shift = false; } else if (vt100_charset_is_graphical && ((c & 0xffe0) == 0x0060)) { c = vt100_charset_graph[c - 0x60]; } poke(cy, cx, new int[] { attr | c }); cursor_right(); } 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();  }