reset the tty palette before print the text

Signed-off-by: Mattias Andrée <maandree@operamail.com>