handle clear cmd if no pane is associated