Temp
Separate terminal and vga specific functions