private boolean dumb_write(int c) { if (c < 32) { if (c == 8) { ctrl_BS(); } else if (c == 9) { ctrl_HT(); } else if (c >= 10 && c <= 12) { ctrl_LF(); } else if (c == 13) { ctrl_CR(); } return true; } return false; }
private void csi_CBT(String p) { int[] ps = vt100_parse_params(p, new int[] {1}); ctrl_HT(1 - Math.max(1, ps[0])); }
private void ctrl_HT() { ctrl_HT(1); }