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(); }
private void csi_CUF(String p) { int[] ps = vt100_parse_params(p, new int[] {1}); cursor_right(Math.max(1, ps[0])); }
private void cursor_right() { cursor_right(1); }