Home | History | Annotate | Download | only in src

Lines Matching refs:cmdlen

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