我正在使用以下行tmux来获取 GNU Screen 中的“硬拷贝”功能:
tmux
bind H capture-pane \; save-buffer -b 0 ~/tmux.hardcopy \; delete-buffer -b 0
但是,ANSI 颜色不会被捕获到文件中。如何tmux保存 ANSI 转义序列,以便硬拷贝也有颜色?
colors tmux ansi-term
ansi-term ×1
colors ×1
tmux ×1