Parent Directory | Revision Log | Patch
revision 1.8 by hollisb, Wed Nov 9 06:07:54 2005 UTC | revision 1.9 by hollisb, Thu Nov 10 01:57:52 2005 UTC | |
---|---|---|
# | Line 285 grub_ofconsole_gotoxy (grub_uint8_t x, g | Line 285 grub_ofconsole_gotoxy (grub_uint8_t x, g |
285 | static void | static void |
286 | grub_ofconsole_cls (void) | grub_ofconsole_cls (void) |
287 | { | { |
288 | /* Clear the screen. */ | /* Clear the screen. Using serial console, screen(1) only recognizes the |
289 | grub_ofconsole_writeesc ("\e[2J"); | * ANSI escape sequence. Using video console, Apple Open Firmware (version |
290 | * 3.1.1) only recognizes the literal ^L. So use both. */ | |
291 | grub_ofconsole_writeesc ("\e[2J"); | |
292 | grub_gotoxy (0, 0); | grub_gotoxy (0, 0); |
293 | } | } |
294 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |