mirror of
https://github.com/ipxe/ipxe
synced 2026-01-01 00:07:27 +03:00
[readline] Allow a prefilled input string to be provided
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -86,7 +86,7 @@ int shell ( void ) {
|
||||
|
||||
/* Read and execute commands */
|
||||
do {
|
||||
line = readline_history ( shell_prompt, &history );
|
||||
line = readline_history ( shell_prompt, NULL, &history );
|
||||
if ( line ) {
|
||||
rc = system ( line );
|
||||
free ( line );
|
||||
|
||||
Reference in New Issue
Block a user