aboutsummaryrefslogtreecommitdiffstats
path: root/src/hci/shell.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2021-04-23 12:27:57 +0100
committerMichael Brown <mcb30@ipxe.org>2021-04-23 12:27:57 +0100
commitb2501dd1221d7910e7aa896ae8b927bb63b77d3a (patch)
treecefdf056fabb0bb4c7a2fd7a007096b65ce10c04 /src/hci/shell.c
parent56f7d44fde1d6ac196d115cc7dddd58e7ec098fa (diff)
downloadipxe-b2501dd1221d7910e7aa896ae8b927bb63b77d3a.tar.gz
[readline] Add an optional timeout to readline_history()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/hci/shell.c')
-rw-r--r--src/hci/shell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hci/shell.c b/src/hci/shell.c
index 276eb3527..8ecf73a6f 100644
--- a/src/hci/shell.c
+++ b/src/hci/shell.c
@@ -91,7 +91,7 @@ int shell ( void ) {
/* Read and execute commands */
do {
- readline_history ( shell_prompt, NULL, &history, &line );
+ readline_history ( shell_prompt, NULL, &history, 0, &line );
if ( line ) {
rc = system ( line );
free ( line );