chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / vt102.c
index 882574aa32cde8054dccb5211c9a847eb23fd0ce..35719cadc3e582540945776423b106658485c265 100644 (file)
@@ -10,6 +10,12 @@ static char rcsid[] = "$Id$";
 
 /*
  * $Log$
+ * Revision 1.18  2008/02/07 01:59:25  james
+ * *** empty log message ***
+ *
+ * Revision 1.17  2008/02/07 01:58:28  james
+ * *** empty log message ***
+ *
  * Revision 1.16  2008/02/07 01:57:46  james
  * *** empty log message ***
  *
@@ -170,6 +176,18 @@ csi_ender (int c)
   return 0;
 }
 
+static inline int
+scs_starter (int c)
+{
+  switch (c)
+    {
+    case '(':
+    case ')':
+      return 1;
+    }
+  return 0;
+}
+
 static inline int
 csi_starter (int c)
 {
@@ -474,7 +492,7 @@ vt102_change_mode (VT102 * v, int private, char *ns, int set)
         case VT102_PRIVATE_MODE_CURSOR_MODE:
           if (v->application_keypad_mode)
             v->private_modes[m] = 0;
-#if 1
+#if 0
           fprintf (stderr, "APPLICATION CURSOR MODE %d wanted %d\n",
                    v->private_modes[m],set);
 #endif