File: readline.h

package info (click to toggle)
shell-fm 0.7%2Bgit20100414-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 444 kB
  • ctags: 305
  • sloc: ansic: 4,422; makefile: 135; python: 80; haskell: 76; sh: 67; perl: 19
file content (14 lines) | stat: -rw-r--r-- 237 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

#ifndef SHELLFM_PROMPT
#define SHELLFM_PROMPT

struct prompt {
	const char * prompt;
	char * line, ** history;
	int (* callback)(char *, const unsigned, int);
};

extern char * readline(struct prompt *);
extern void canon(int);

#endif