bshell: add line-editor and file-based input support

This commit is contained in:
2026-05-07 10:52:00 +01:00
parent 3c15bb1609
commit 8b0295faf2
27 changed files with 1636 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#ifndef LINE_ED_INPUT_H_
#define LINE_ED_INPUT_H_
struct line_ed;
extern void put_char(struct line_ed *ed, char c);
extern void backspace(struct line_ed *ed);
extern void cursor_left(struct line_ed *ed);
extern void cursor_right(struct line_ed *ed);
extern void arrow_up(struct line_ed *ed);
extern void arrow_down(struct line_ed *ed);
#endif