Add support for pending output with capture-pane