Why don't you use a wrapper which invokes clear after mutt finished? No extra code needed in mutt.
- [PATCH] Option to clear the screen on quit Oskari Pirhonen
- Re: [PATCH] Option to clear the screen on quit Kevin J. McCarthy
- Re: [PATCH] Option to clear the screen on quit Oskari Pirhonen
- Re: [PATCH] Option to clear the screen on q... Claus Assmann
- Re: [PATCH] Option to clear the screen ... Oskari Pirhonen
- Re: [PATCH] Option to clear the sc... Matthias Andree
- Re: [PATCH] Option to clear th... Oskari Pirhonen
- Re: [PATCH] Option to clea... Vincent Lefevre
- Re: [PATCH] Option to clear the sc... Cameron Simpson
- Re: [PATCH] Option to clear th... Derek Martin
- Re: [PATCH] Option to clea... Derek Martin
- Re: [PATCH] Option to clear the screen on quit Vincent Lefevre
- Re: [PATCH] Option to clear the screen on q... Kevin J. McCarthy
- Re: [PATCH] Option to clear the screen ... Vincent Lefevre