Allow fallback handlers at State layer for unrecognised CSIs/etc..

Registered by Paul "LeoNerd" Evans

<tarruda>: Allow user callbacks to parse custom terminal codes such as bracketed paste or OCS 7: https://github.com/neovim/neovim/issues/2252

---

This is likely to be implemented by taking an optional ParserCallback struct at the State and Screen layers, allowing a higher-level application to take control to implement other bits that libvterm itself doesn't like.

    void vterm_state_set_unrecognised_callbacks(VTermState *state, const VTermParserCallbacks *cb, void *user);
    void vterm_screen_set_unrecognised_callbacks(VTermScreen *screen, const VTermParserCallbacks *cb, void *user);

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
Paul "LeoNerd" Evans
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon v0.1
Started by
Paul "LeoNerd" Evans
Completed by
Paul "LeoNerd" Evans

Related branches

Sprints

Whiteboard

(?)

Work Items

Work items:
Code: DONE

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.