Home | History | Annotate | Download | only in src

Lines Matching refs:cmdlen

1322 static int on_osc(const char *command, size_t cmdlen, void *user)
1326 if(cmdlen < 2)
1330 settermprop_string(state, VTERM_PROP_ICONNAME, command + 2, cmdlen - 2);
1331 settermprop_string(state, VTERM_PROP_TITLE, command + 2, cmdlen - 2);
1335 settermprop_string(state, VTERM_PROP_ICONNAME, command + 2, cmdlen - 2);
1339 settermprop_string(state, VTERM_PROP_TITLE, command + 2, cmdlen - 2);
1346 static void request_status_string(VTermState *state, const char *command, size_t cmdlen)
1348 if(cmdlen == 1)
1373 if(cmdlen == 2) {
1392 vterm_push_output_sprintf_dcs(state->vt, "0$r%.s", (int)cmdlen, command);
1395 static int on_dcs(const char *command, size_t cmdlen, void *user)
1399 if(cmdlen >= 2 && strneq(command, "$q", 2)) {
1400 request_status_string(state, command+2, cmdlen-2);