scriptコマンドのログからエスケープシーケンスを取り除く
Xで教えてもらった
tmux起動
% tmux
cat
% cat typescript
tmuxでcat結果を捕捉
% tmux capture-pane -p -S -99999 | tee typescript.txt