return new_slen;
}
+#ifdef FEAT_TERMRESPONSE
+/*
+ * Handle a cursor position report.
+ */
static void
-handle_u7_response(int *arg, char_u *tp, int csi_len)
+handle_u7_response(int *arg, char_u *tp UNUSED, int csi_len UNUSED)
{
if (arg[0] == 2 && arg[1] >= 2)
{
// Setting the option causes a screen redraw. Do
// that right away if possible, keeping any
// messages.
- set_option_value((char_u *)"ambw", 0L,
- (char_u *)aw, 0);
+ set_option_value((char_u *)"ambw", 0L, (char_u *)aw, 0);
# ifdef DEBUG_TERMRESPONSE
{
int r = redraw_asap(CLEAR);
}
return OK;
}
+#endif // FEAT_TERMRESPONSE
/*
* Check if typebuf.tb_buf[] contains a terminal key code.