frontend: add a line editor for shell input
This commit is contained in:
12
frontend/line-ed/prompt.h
Normal file
12
frontend/line-ed/prompt.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef LINE_ED_PROMPT_H_
|
||||
#define LINE_ED_PROMPT_H_
|
||||
|
||||
#define PROMPT_MAIN 0
|
||||
#define PROMPT_CONT 1
|
||||
|
||||
struct line_ed;
|
||||
|
||||
extern void show_prompt(struct line_ed *ed);
|
||||
extern unsigned long prompt_length(struct line_ed *ed, int prompt_id);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user