]> pd.if.org Git - pd_readline/blobdiff - pd_readline.h
More work.
[pd_readline] / pd_readline.h
index a79e7a67bac07308ba0f13ca148acbf532af4d65..ea5efbe4354f724e496b9535810a2c31e02308cb 100644 (file)
@@ -15,9 +15,11 @@ typedef struct {
 
 
 
-/*  Cursor movement funcs. */ 
-buf up(int i); 
-buf down(int i); 
+/*  Buffer funcs. */ 
+buf set(buf b, int i);
+void show(buf b);
+buf up(buf b); 
+buf down(buf b); 
 buf left(buf b); 
 buf right(buf b); 
 buf delch(buf b); 
@@ -32,7 +34,7 @@ void spec(void);
 
 
 /*  Other funcs.  */  
-void readhistory(char *fname); 
+buf readhistory(char *fname); 
 void keyhandler(buf b);