Terminal support added.

Signed-off-by: Campbell Watson <campbell-watson@outlook.com>