[prompt] Replace shell_banner() with a generic prompt() function

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2011-03-07 17:42:06 +00:00
parent 9d633bdc71
commit c4b6c244b0
5 changed files with 64 additions and 37 deletions

14
src/include/usr/prompt.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef _USR_PROMPT_H
#define _USR_PROMPT_H
/** @file
*
* Prompt for keypress
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
extern int prompt ( const char *text, unsigned int wait_ms, int key );
#endif /* _USR_PROMPT_H */