Re: [PATCH] Turn off curses meta() mode before exiting.

Kurt Hackenberg <[email protected]> Tue, 23 Jun 2026 17:42:58 -0400
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
On Mon, Jun 22, 2026 at 13:30 +0800, Kevin J. McCarthy wrote:

>+/* Before exiting, turn off features enabled in start_curses() that
>+ * are not reversed by endwin().
>+ */
>+void mutt_curses_cleanup(void)
>+{
>+#if HAVE_META
>+  meta(stdscr, FALSE);
>+#endif
>+}

Shouldn't Mutt only turn off that mode if it was off when Mutt started?