Mutt exits line editor when resized. This only happens when the imap flag is enabled, as the window resize handling is different in that case. I attached a patch that should solve the problem so that you can integrate it in the portage tree. Reproducible: Always Steps to Reproduce: 1. Merge mail-client/mutt with imap use flag 2. Open mutt with the following command 3. Resize the terminal Actual Results: Mutt exists Please note that this bug concerns vanilla mutt and not NeoMutt. I already submitted the fix upstream (see URL), but it might take a while to fix so I attached the patch I use as a user patch on 1.7 version. Also, this should concern every version of mutt as the issue was introduced a few years ago when fixing another problem.
Created attachment 445626 [details, diff] Patch to fix the resize issue
Thanks! I was waiting for a response from mutt maintainers, but will include it on next revbump.
Thanks! FYI, a mutt dev just acknowledged the bug report. Also, this is not urgent (it has been around for a while). I noticed it because I open mailto urls with this command: "xterm -e mutt", and my window manager (Awesome) resizes the terminal when they open, exiting mutt when it starts. But even in that case there are workarounds such as opening the terminal in floating mode.
I expect Kevin to make some more commits today or tomorrow, after which I'll do a revbump. Whether or not he includes your fix won't matter, as I already grabbed the patch so the fix will be in the next version. I hope this is ok for you.
No problem for me. Just do whatever you think is best for the other Gentoo users. I already have the patch in my local patches anyway. I just wasn't sure how long it would take to integrate it upstream, so I submitted the patch here in case someone else had the same problem.
Created attachment 447464 [details, diff] Upstream fix for the problem Kevin submitted the official fix. I attached it to the bug report.
This should be in -r5. Thanks!