fix(#452): clear pane contents on restore

pull/459/head
Barrett Ruth 2022-10-25 16:32:12 -04:00
parent a2ddfb96b9
commit 0c289fea75
1 changed files with 1 additions and 0 deletions

View File

@ -202,6 +202,7 @@ restore_pane() {
fi
# set pane title
tmux select-pane -t "$session_name:$window_number.$pane_index" -T "$pane_title"
tmux send-keys -t "$session_name:$window_number.$pane_index" 'c-l'
done < <(echo "$pane")
}