Window encoding for tmux