mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 04:50:25 +03:00
[prompt] Replace shell_banner() with a generic prompt() function
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
14
src/include/usr/prompt.h
Normal file
14
src/include/usr/prompt.h
Normal 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 */
|
||||
Reference in New Issue
Block a user