Subversion Repositories SvarDOS

Rev

Rev 77 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 77 Rev 78
Line 154... Line 154...
154
    } else if (key == 0x14F) { /* end */
154
    } else if (key == 0x14F) { /* end */
155
      res = count - 1;
155
      res = count - 1;
156
      if (res > offset + height - 3) offset = res - (height - 3);
156
      if (res > offset + height - 3) offset = res - (height - 3);
157
    } else if (key == 0x1B) {  /* ESC */
157
    } else if (key == 0x1B) {  /* ESC */
158
      return(-1);
158
      return(-1);
159
    } else {
159
    }/* else {
160
      char buf[8];
160
      char buf[8];
161
      snprintf(buf, sizeof(buf), "0x%02X ", key);
161
      snprintf(buf, sizeof(buf), "0x%02X ", key);
162
      video_putstring(1, 0, COLOR_BODY[mono], buf, -1);
162
      video_putstring(1, 0, COLOR_BODY[mono], buf, -1);
163
    }
163
    }*/
164
  }
164
  }
165
}
165
}
166
 
166
 
167
static void newscreen(void) {
167
static void newscreen(void) {
168
  int x;
168
  int x;