You need to save the email (make sure your mailer saves it raw and does
not wrap lines), then checkout tmux SVN and do:
cd tmux/trunk
patch Outside of tmux my TERM is xterm-256color. The author of pudb said he
>thinks the problem is in urwid (a Python console user interface library).
>
What is TERM outside tmux?
This program is using 1047h to switch to alternate screen mode which
unless you are using a very old terminfo is not in the xterm entry, so
it's probably a bad idea to rely on it working.
Anyway please try this which adds it to tmux:
Index: input.c