I want the pty to be seen.
[apps/madtty.git] / madtty / roteprivate.h
index ab45baf..628a993 100644 (file)
@@ -40,13 +40,12 @@ struct RoteTermPrivate_ {
                                 * the initial escape (\x1B) character. */
     int esbuf_len;             /* length of buffer. The following property
                                 * is always kept: esbuf[esbuf_len] == '\0' */
-
-    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