terminal: Basic vt100 escape codes
terminal: Basic vt100 escape codes

Implements correct behaviour for vt100 cursor movement, erasing, custom
tabs, and reporting. Includes relevant terminal modes.

Signed-off-by: Callum Lowcay <30277750103c2cd3d9ca2faae7875553e95d86f7@callumscode.com>

abooij/wayland,tulcod/wayland,xorgy/weston,abooij/wayland,mchalupa/wayland,xorgy/weston,giucam/weston,udoprog/weston,bitfactor/wayland,udoprog/weston,jonnylamb/weston,Gnurou/weston,Tarnyko/weston-xdg_surface_present,Fantu/compositor-spice,eyolfson/weston,jonnylamb/weston,tulcod/wayland,Tarnyko/weston-xdg_surface_present,sir-murray/wayland,Gnurou/weston,sir-murray/wayland,eyolfson/weston,kwm81/weston,Fantu/compositor-spice,bitfactor/wayland,sir-murray/weston,eyolfson/wayland,krezovic/weston,eyolfson/wayland,eyolfson/wayland,abooij/wayland,sir-murray/wayland,mchalupa/weston,kwm81/weston,krezovic/weston,Fantu/compositor-spice,mchalupa/weston,giucam/weston,sir-murray/weston,mchalupa/wayland,bitfactor/wayland,tulcod/wayland,mchalupa/wayland