mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 07:11:32 +00:00
Print welcome banner in bold (which will come out as bright white text
on the BIOS console, or genuine bold font on a xterm "serial" console), just to prove the concept of the ANSI escape sequence handling.
This commit is contained in:
parent
8b3a4c9862
commit
530bbf7cca
@ -3,6 +3,7 @@
|
||||
#include "cmdline.h"
|
||||
#include "cmdlinelib.h"
|
||||
#include "cmdlist.h"
|
||||
#include <gpxe/ansiesc.h>
|
||||
|
||||
|
||||
#define CMDL_DELAY (2000 * TICKS_PER_SEC) / 1000;
|
||||
@ -16,8 +17,10 @@ void cmdl_start()
|
||||
//int spin;
|
||||
|
||||
//printf("gPXE %s (GPL) etherboot.org ... ", VERSION);
|
||||
printf("gPXE %s (GPL) etherboot.org\n", VERSION);
|
||||
printf("Press Ctrl-B for gPXE command line...");
|
||||
printf ( CSI "1m" /* bold */
|
||||
"gPXE " VERSION " (GPL) etherboot.org\n"
|
||||
CSI "0m" /* normal */
|
||||
"Press Ctrl-B for gPXE command line..." );
|
||||
|
||||
stop = currticks() + CMDL_DELAY;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user