diff options
author | Michael Brown <mcb30@ipxe.org> | 2021-04-23 12:27:57 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-04-23 12:27:57 +0100 |
commit | b2501dd1221d7910e7aa896ae8b927bb63b77d3a (patch) | |
tree | cefdf056fabb0bb4c7a2fd7a007096b65ce10c04 /src/hci/shell.c | |
parent | 56f7d44fde1d6ac196d115cc7dddd58e7ec098fa (diff) | |
download | ipxe-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.c | 2 |
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 ); |