In ZSH prompt expansion, the command %E is supposed to "Clear to end of line."
However, it does not work in tmux: 
The issue seems to be with BCE (Background Color Erase). In screen, I can add the option defbce on. I can't find any similar setting for tmux. Does it exist?

TERM=screento something else.