Run bind only if terminal