private void esc_RI() { if (cy == scroll_area_y0) { scroll_area_down(scroll_area_y0, scroll_area_y1); } else { cursor_up(); } }
private void csi_SD(String p) { int[] ps = vt100_parse_params(p, new int[] {1}); scroll_area_down(scroll_area_y0, scroll_area_y1, Math.max(1, ps[0])); }
private void csi_IL(String p) { int[] ps = vt100_parse_params(p, new int[] {1}); if (cy >= scroll_area_y0 && cy < scroll_area_y1) { scroll_area_down(cy, scroll_area_y1, Math.max(1, ps[0])); } }
private void scroll_area_down(int y0, int y1) { scroll_area_down(y0, y1, 1); }