vt: remove commented out code

This commit is contained in:
Daniel Eklöf 2019-11-16 10:55:14 +01:00
parent 37139fc4fa
commit 69e0e454fa
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

37
vt.c
View file

@ -608,43 +608,6 @@ esc_dispatch(struct terminal *term, uint8_t final)
term_reset(term, true);
break;
#if 0
case '0': {
/* Configure G0-G3 to use special chars + line drawing */
char param = term->vt.private[0] != 0 ? term->vt.private[0] : 0;
switch (param) {
case '(': term->charset[0] = CHARSET_GRAPHIC; break;
case ')': term->charset[1] = CHARSET_GRAPHIC; break;
case '*': term->charset[2] = CHARSET_GRAPHIC; break;
case '+': term->charset[3] = CHARSET_GRAPHIC; break;
case 0: break;
default:
UNHANDLED();
break;
}
break;
}
case 'B': {
/* Configure G0-G3 to use ASCII */
char param = term->vt.private[0] != 0 ? term->vt.private[0] : 0;
switch (param) {
case '(': term->charset[0] = CHARSET_ASCII; break;
case ')': term->charset[1] = CHARSET_ASCII; break;
case '*': term->charset[2] = CHARSET_ASCII; break;
case '+': term->charset[3] = CHARSET_ASCII; break;
case 0: break;
default:
UNHANDLED();
break;
}
break;
}
#endif
case 'D':
term_linefeed(term);
break;