[readline] Allow a prefilled input string to be provided

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-10-24 20:16:15 -07:00
parent c86790df5c
commit 4dedccfa1f
3 changed files with 11 additions and 3 deletions

View File

@@ -51,6 +51,7 @@ struct readline_history {
extern void history_free ( struct readline_history *history );
extern char * __malloc readline_history ( const char *prompt,
const char *prefill,
struct readline_history *history );
extern char * __malloc readline ( const char *prompt );