]> pd.if.org Git - pd_readline/blobdiff - funcs.c
Starting cleanup of code.
[pd_readline] / funcs.c
diff --git a/funcs.c b/funcs.c
new file mode 100644 (file)
index 0000000..7444e66
--- /dev/null
+++ b/funcs.c
@@ -0,0 +1,81 @@
+
+
+/*  funcs.c                                          */ 
+/*  Functions to handle cursor movement for          */ 
+/*  pd_readline.                                     */      
+/*  This code is released to the public domain.      */ 
+/*  "Share and enjoy...."  ;)                        */  
+/*  See the UNLICENSE file for details.              */ 
+
+
+#include <string.h>   
+#include <stdio.h> 
+#include <stdlib.h> 
+
+
+
+/* Move up in history list. */ 
+int up(int i) 
+{ 
+  
+
+
+} 
+
+
+/* Move down in history list. */ 
+int down(int i) 
+{ 
+
+
+} 
+
+
+/* Move cursor to left. */ 
+buf left(buf b) 
+{
+
+
+} 
+
+
+/* Move cursor to right. */ 
+buf right(buf b) 
+{ 
+
+
+} 
+
+
+/* Delete a char. */ 
+buf delch(buf b) 
+{ 
+
+
+} 
+
+
+/* Insert a char. */ 
+buf insch(buf b) 
+{ 
+
+
+} 
+
+
+
+/*  Function to handle escape sequences. */ 
+int esc(int i) 
+{ 
+       
+       
+       
+       
+}      
+
+
+
+
+
+
+