added terminal interface to vga driver