X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=pd_readline.h;h=ea5efbe4354f724e496b9535810a2c31e02308cb;hb=851ac869ee55686234ae246ab9b5d938aec0f225;hp=67f844c3f26b6dd49b85e6ae577d508443265efd;hpb=2aac28bc15a87f5fde5daa83352f9f9b675fc635;p=pd_readline diff --git a/pd_readline.h b/pd_readline.h index 67f844c..ea5efbe 100644 --- a/pd_readline.h +++ b/pd_readline.h @@ -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); @@ -27,11 +29,12 @@ int range(int rstart, int rend, int i); int type(int i); -/* Escape-key handling. */ -int spec(int i); +/* Special key handling. */ +void spec(void); + /* Other funcs. */ -void readhistory(char *fname); +buf readhistory(char *fname); void keyhandler(buf b);