Cross-platform improvements for tmux