" [?658467;65541h and [?658467;65542h.\n"
" -d - Log emulator debug messages to stderr.\n"
" -D - Toggle if the cursor can be disabled/invisible or not.\n"
+ " This can be configured using [?658467;65549h and 65550h.\n"
" -S - Wait in a sleeping loop until the user closes the window\n"
" before exiting. This is useful to view the output of\n"
" custom commands along with -e.\n"
false;
st->text_updateall =
true;
+ } else if (p == 65549) {
+ cfg_cursordisable =
+ true;
+ } else if (p == 65550) {
+ cfg_cursordisable =
+ false;
+ st->cursor_disabled =
+ false;
+ draw_blink_reset();
+ state_update_cursor(
+ st);
}
} else if ((state->curparam == 2 &&
state->csiparam[1] ==
case 25: /* Hide cursor (DECTCEM, civis) */
if (cfg_cursordisable)
st->cursor_disabled = true;
+ state_update_cursor(st);
break;
case 2004: /* Bracketed paste mode */
st->quotedpaste = false;