diff options
| author | Damien George | 2014-03-29 14:20:05 +0000 |
|---|---|---|
| committer | Damien George | 2014-03-29 14:20:05 +0000 |
| commit | c9fd6645b0a1af73f3854ddc2745596070985a18 (patch) | |
| tree | 24440350973d243c8f5522d9e1c7862b14b54767 /stmhal/readline.h | |
| parent | c689c194710f4acf4cabd193795b57e5a101420e (diff) | |
stmhal: Factor out stdio and readline to separate files.
Adds readline_init() to clear readline history on soft reset. Addresses
issue #387.
Diffstat (limited to 'stmhal/readline.h')
| -rw-r--r-- | stmhal/readline.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stmhal/readline.h b/stmhal/readline.h new file mode 100644 index 000000000..6b1baee32 --- /dev/null +++ b/stmhal/readline.h @@ -0,0 +1,2 @@ +void readline_init(void); +int readline(vstr_t *line, const char *prompt); |
