|
|
@ -1112,10 +1112,16 @@ handle_term_parameter(struct terminal *terminal, int code, int sr) |
|
|
|
if (sr) terminal->mode |= MODE_AUTOREPEAT; |
|
|
|
if (sr) terminal->mode |= MODE_AUTOREPEAT; |
|
|
|
else terminal->mode &= ~MODE_AUTOREPEAT; |
|
|
|
else terminal->mode &= ~MODE_AUTOREPEAT; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case 12: /* Very visible cursor (CVVIS) */ |
|
|
|
|
|
|
|
/* FIXME: What do we do here. */ |
|
|
|
|
|
|
|
break; |
|
|
|
case 25: |
|
|
|
case 25: |
|
|
|
if (sr) terminal->mode |= MODE_SHOW_CURSOR; |
|
|
|
if (sr) terminal->mode |= MODE_SHOW_CURSOR; |
|
|
|
else terminal->mode &= ~MODE_SHOW_CURSOR; |
|
|
|
else terminal->mode &= ~MODE_SHOW_CURSOR; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case 1034: /* smm/rmm, meta mode on/off */ |
|
|
|
|
|
|
|
/* ignore */ |
|
|
|
|
|
|
|
break; |
|
|
|
case 1037: /* deleteSendsDel */ |
|
|
|
case 1037: /* deleteSendsDel */ |
|
|
|
if (sr) terminal->mode |= MODE_DELETE_SENDS_DEL; |
|
|
|
if (sr) terminal->mode |= MODE_DELETE_SENDS_DEL; |
|
|
|
else terminal->mode &= ~MODE_DELETE_SENDS_DEL; |
|
|
|
else terminal->mode &= ~MODE_DELETE_SENDS_DEL; |
|
|
@ -1124,6 +1130,10 @@ handle_term_parameter(struct terminal *terminal, int code, int sr) |
|
|
|
if (sr) terminal->mode |= MODE_ALT_SENDS_ESC; |
|
|
|
if (sr) terminal->mode |= MODE_ALT_SENDS_ESC; |
|
|
|
else terminal->mode &= ~MODE_ALT_SENDS_ESC; |
|
|
|
else terminal->mode &= ~MODE_ALT_SENDS_ESC; |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
case 1049: /* rmcup/smcup, alternate screen */ |
|
|
|
|
|
|
|
/* Ignore. Should be possible to implement,
|
|
|
|
|
|
|
|
* but it's kind of annoying. */ |
|
|
|
|
|
|
|
break; |
|
|
|
default: |
|
|
|
default: |
|
|
|
fprintf(stderr, "Unknown parameter: ?%d\n", code); |
|
|
|
fprintf(stderr, "Unknown parameter: ?%d\n", code); |
|
|
|
break; |
|
|
|
break; |
|
|
|