X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=madtty%2Froteprivate.h;h=679ed1089d095e47bc29f88e8aeb105e8f4cf86e;hb=5618d7a42ce62103e5f29da3756b81f57198b22f;hp=ab45baf73127ccdfdcfa9eb92c8f8fd559dc71bf;hpb=8ead06c97e16165208fd9d02ada73d63aeca11f2;p=apps%2Fmadtty.git diff --git a/madtty/roteprivate.h b/madtty/roteprivate.h index ab45baf..679ed10 100644 --- a/madtty/roteprivate.h +++ b/madtty/roteprivate.h @@ -43,10 +43,12 @@ struct RoteTermPrivate_ { int pty; /* file descriptor for the pty attached to * this terminal. -1 if none. */ - - /* custom escape sequence handler */ - rote_es_handler_t handler; }; -#endif +/* Interprets a CSI escape sequence stored in rt->pd->esbuf, + * changing rt to reflect the effect of the sequence. This function + * will not change rt->pd->esbuf, rt->pd->escaped or other escape-sequence + * related fields in it */ +void rote_es_interpret_csi(RoteTerm *rt); +#endif