move settings to terminal.py

like in the gk3 branch

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>