Exemple #1
0
 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();
 }
Exemple #2
0
 private void csi_ICH(String p) {
   int[] ps = vt100_parse_params(p, new int[] {1});
   scroll_line_right(cy, cx, ps[0]);
 }
Exemple #3
0
 private void scroll_line_right(int y, int x) {
   scroll_line_right(y, x, 1);
 }