Lines Matching refs:cmdlen
1430 static int on_osc(const char *command, size_t cmdlen, void *user) in on_osc() argument
1434 if(cmdlen < 2) in on_osc()
1438 settermprop_string(state, VTERM_PROP_ICONNAME, command + 2, cmdlen - 2); in on_osc()
1439 settermprop_string(state, VTERM_PROP_TITLE, command + 2, cmdlen - 2); in on_osc()
1443 settermprop_string(state, VTERM_PROP_ICONNAME, command + 2, cmdlen - 2); in on_osc()
1447 settermprop_string(state, VTERM_PROP_TITLE, command + 2, cmdlen - 2); in on_osc()
1454 static void request_status_string(VTermState *state, const char *command, size_t cmdlen) in request_status_string() argument
1456 if(cmdlen == 1) in request_status_string()
1481 if(cmdlen == 2) { in request_status_string()
1500 vterm_push_output_sprintf_dcs(state->vt, "0$r%.s", (int)cmdlen, command); in request_status_string()
1503 static int on_dcs(const char *command, size_t cmdlen, void *user) in on_dcs() argument
1507 if(cmdlen >= 2 && strneq(command, "$q", 2)) { in on_dcs()
1508 request_status_string(state, command+2, cmdlen-2); in on_dcs()