Hey folks,

I run mutt 1.9.0 on Debian (linked against ncursesw) and 1.9.0-r1 from Portage on Gentoo. On each of these systems, I typically run mutt within a session of tmux. I usually connect to those sessions with mosh (1.3.2). The starting terminal is almost always iTerm2 on a macOS 10.12 system. I've tried ruling this problem out six ways to Sunday.

When my maildir has messages that have unicode emoji in their subject lines, the screen will slowly start to corrupt itself as I scroll through the index. This corruption is usually subtle in tmux and rather severe in "screen." Yet, interestingly enough, it doesn't happen outside of tmux/screen. Yes, TERM is set properly inside of both (screen-256color).

I have:

- Self-compiled 1.9.0 with ncursesw on both systems
- Tried a recent master copy of tmux on both systems
- Tried mosh 1.3.2 and ssh interchangeably on both systems
- Switched from iTerm2 to Terminal and back again

In the process of trying to figure this out, I broke tmux's cardinal FAQ of having the right TERM setting inside tmux. When it's set to xterm-256color, I notice virtually no corruption. When set correctly (i.e., screen-256color), the emoji wreak havoc with the screen. I'm at a loss and, unfortunately, a bit out of my depth in troubleshooting much further.

Has anyone else seen this / know of a workaround?

Cheers,
Matt

Reply via email to