Home
last modified time | relevance | path

Searched refs:str_frag (Results 1 – 1 of 1) sorted by relevance

/haiku/src/apps/serialconnect/libvterm/src/
H A Dparser.c119 static size_t do_string(VTerm *vt, const char *str_frag, size_t len) in do_string() argument
124 if(str_frag) in do_string()
125 append_strbuffer(vt, str_frag, len); in do_string()
127 str_frag = vt->strbuffer; in do_string()
130 else if(!str_frag) { in do_string()
140 if((eaten = (*vt->parser_callbacks->text)(str_frag, len, vt->cbdata))) in do_string()
147 if(len == 1 && str_frag[0] >= 0x40 && str_frag[0] < 0x60) { in do_string()
150 do_control(vt, str_frag[0] + 0x40); in do_string()
155 if((*vt->parser_callbacks->escape)(str_frag, len, vt->cbdata)) in do_string()
158 fprintf(stderr, "libvterm: Unhandled escape ESC 0x%02x\n", str_frag[len-1]); in do_string()
[all …]