-void madtty_init_colors(void);
-int madtty_color_pair(int fg, int bg);
-void madtty_init_vt100_graphics(void);
+enum {
+ /* means escape sequence was handled */
+ MADTTY_HANDLER_OK,
+ /* means the escape sequence was not recognized yet, but
+ * there is hope that it still will once more characters
+ * arrive (i.e. it is not yet complete).
+ *
+ * The library will thus continue collecting characters
+ * and calling the handler as each character arrives until
+ * either OK or NOWAY is returned.
+ */
+ MADTTY_HANDLER_NOTYET,
+ /* means the escape sequence was not recognized, and there
+ * is no chance that it will even if more characters are
+ * added to it.
+ */
+ MADTTY_HANDLER_NOWAY
+};