X-Git-Url: https://pd.if.org/git/?p=pd_readline;a=blobdiff_plain;f=pd_readline.h;fp=pd_readline.h;h=0000000000000000000000000000000000000000;hp=8be5d8f27f5789a75b05207e455355ed5a25f68b;hb=050f646dd55e7fef8b2d0dcf5d1740ea8484f9c1;hpb=d56fdb0ce92c92e27ef45a8315ff26c272a1f23d diff --git a/pd_readline.h b/pd_readline.h deleted file mode 100644 index 8be5d8f..0000000 --- a/pd_readline.h +++ /dev/null @@ -1,66 +0,0 @@ - - -/* pd_readline.h */ -/* Header file for pd_readline. */ -/* This code is released to the public domain. */ -/* "Share and enjoy...." ;) */ -/* See the UNLICENSE file for details. */ - - -/* Buffer typedef. */ -typedef struct { - int index; - char array[80] ; -} buf; - - -/* History. */ -typedef struct { - int curindex; - char array[20][80]; -} hist; - - - - -/* Termios funcs. */ -void initTermios(int echo) ; -void resetTermios(void) ; -char getch_(int echo); -char getch(void); -char getche(void); - - -/* Buffer funcs. */ -void error(void); -void show(buf b); -buf set(buf b, int i); -buf get(hist h); - -hist up(hist h); -hist down(hist h); -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(hist h); - - -/* Other funcs. */ -hist readhistory(char *fname); -void keyhandler(buf b, hist h); - - - - - - - - -