switch between term and shell