~libvterm/libvterm/trunk

« back to all changes in this revision

Viewing changes to include/vterm.h

  • Committer: Paul "LeoNerd" Evans
  • Date: 2023-01-15 22:12:46 UTC
  • Revision ID: leonerd@leonerd.org.uk-20230115221246-1iy51zxc8lmt6nmq
Optionally emit NUL/CAN/SUB/DEL from the parser rather than just ignoring them

Show diffs side-by-side

added added

removed removed

Lines of Context:
413
413
void  vterm_parser_set_callbacks(VTerm *vt, const VTermParserCallbacks *callbacks, void *user);
414
414
void *vterm_parser_get_cbdata(VTerm *vt);
415
415
 
 
416
/* Normally NUL, CAN, SUB and DEL are ignored. Setting this true causes them
 
417
 * to be emitted by the 'control' callback
 
418
 */
 
419
void vterm_parser_set_emit_nul(VTerm *vt, bool emit);
 
420
 
416
421
// -----------
417
422
// State layer
418
423
// -----------