示例#1
0
 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();
   }
 }
示例#2
0
 private void csi_CUD(String p) {
   int[] ps = vt100_parse_params(p, new int[] {1});
   cursor_down(Math.max(1, ps[0]));
 }
示例#3
0
 private void cursor_down() {
   cursor_down(1);
 }