]> pd.if.org Git - pd_readline/blobdiff - pd_readline.h
More work.
[pd_readline] / pd_readline.h
index 021933e57ed568ce4572c99a5e856ca47f6d18a9..67f844c3f26b6dd49b85e6ae577d508443265efd 100644 (file)
@@ -16,19 +16,23 @@ 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); 
+
 
 /*  Escape-key handling.  */ 
-int esc(int i); 
+int spec(int i); 
 
 /*  Other funcs.  */  
 void readhistory(char *fname); 
-int keyhandler(void);  
+void keyhandler(buf b);