private void ctrl_LF() { if (vt100_mode_lfnewline) { ctrl_CR(); } if (cy == scroll_area_y1 - 1) { scroll_area_up(scroll_area_y0, scroll_area_y1); } else { cursor_down(); } }
private void csi_SU(String p) { int[] ps = vt100_parse_params(p, new int[] {1}); scroll_area_up(scroll_area_y0, scroll_area_y1, Math.max(1, ps[0])); }
private void csi_DL(String p) { int[] ps = vt100_parse_params(p, new int[] {1}); if (cy >= scroll_area_y0 && cy < scroll_area_y1) { scroll_area_up(cy, scroll_area_y1, Math.max(1, ps[0])); } }
private void scroll_area_up(int y0, int y1) { scroll_area_up(y0, y1, 1); }