grub-dev: Command Line Window
12.4 Command Line Window
========================
The terminal window used to provide command line access within the
graphical menu is managed by 'gfxmenu/view.c'. The 'gfxterm' terminal
is used, and it has been modified to allow rendering to an offscreen
render target to allow it to be composed into the double buffering
system that the graphical menu view uses. This is bad for performance,
however, so it would probably be a good idea to make it possible to
temporarily disable double buffering as long as the terminal window is
visible. There are still unresolved problems that occur when commands
are executed from the terminal window that change the graphics mode.
It's possible that making 'grub_video_restore()' return to the graphics
mode that was in use before 'grub_video_setup()' was called might fix
some of the problems.