.TH vga_flip() "" "" "VGA Function"
.PC "Flip between graphics and text mode"
.B "#include <vga.h>"
.B "int vgaflip()"
.PP
Function
.B vga_flip()
switches between graphics and text mode without
destroying the screen's contents.
This permits your application to use both text and graphics output, which
is quite useful when debugging graphics programs.
.PP
This feature by default is bound to the
.B <esc>
key.
Pressing
.B <esc>
will flip a graphics program into text mode, where it remains until
you press another key.
This allows you to leave graphics mode, invoke another virtual console,
do work, then return to your graphics application.
.PP
Function
.B vga_setflipchar()
maps
.B vga_flip()
from
.B <esc>
to another key.
.SH "See Also"
.B
libvga,
vga.h,
vga_setflipchar()
.R
