if user types into right, then terminal is openend automatically