Lines Matching refs:esc_seq
48 } esc_seq;
205 char *esc = priv->esc_seq.buf + 2;
352 if (priv->esc_seq.buf[priv->esc_seq.len - 1] != ';')
372 if ((c != '\n') && priv->esc_seq.len >= 0) {
374 priv->esc_seq.buf[priv->esc_seq.len++] = c;
375 priv->esc_seq.buf[priv->esc_seq.len] = '\0';
378 priv->esc_seq.len = -1;
383 priv->esc_seq.len = 0;
384 priv->esc_seq.buf[priv->esc_seq.len] = '\0';
437 if (priv->esc_seq.len >= 2) {
440 if (!strcmp(priv->esc_seq.buf, "[2J")) {
444 } else if (!strcmp(priv->esc_seq.buf, "[H")) {
450 else if ((priv->esc_seq.len >= 3) &&
451 (priv->esc_seq.buf[0] == '[') &&
452 (priv->esc_seq.buf[1] == 'L')) {
461 if (processed || (priv->esc_seq.len >= LCD_ESCAPE_LEN))
462 priv->esc_seq.len = -1;
607 priv->esc_seq.len = -1;