]> pd.if.org Git - pd_readline/blobdiff - pd_readline.h
More work.
[pd_readline] / pd_readline.h
index 021933e57ed568ce4572c99a5e856ca47f6d18a9..a79e7a67bac07308ba0f13ca148acbf532af4d65 100644 (file)
@@ -16,19 +16,24 @@ typedef struct {
 
 
 /*  Cursor movement funcs. */ 
-int up(int i); 
-int down(int i); 
+buf up(int i); 
+buf down(int i); 
 buf left(buf b); 
 buf right(buf b); 
 buf delch(buf b); 
 buf insch(buf b); 
+void enter(void);  
+int range(int rstart, int rend, int i);
+int type(int i); 
+
+
+/*  Special key handling.  */ 
+void spec(void); 
 
-/*  Escape-key handling.  */ 
-int esc(int i); 
 
 /*  Other funcs.  */  
 void readhistory(char *fname); 
-int keyhandler(void);  
+void keyhandler(buf b);