[PATCH] Remove ncurses meta() call.
"Kevin J. McCarthy" <[email protected]> Thu, 25 Jun 2026 10:06:44 +0800
| Newsgroups | gmane.mail.mutt.devel |
|---|---|
| Message-ID | <[email protected]> |
The meta() call enables 8-bit mode on a terminal via the smm terminfo entry (or the CS8 flag). This is an older mode that most likely isn't necessary anymore. On many terminals it allows Alt-x to be sent as an 8-bit value instead of Esc-x. However, it also affects other input. For more information see: <https://invisible-island.net/ncurses/man/curs_inopts.3x.html#h3-meta>. This mode is affecting some modern terminals badly, including foot. Additionally, mutt turned the mode on but did not turn it off, leaving foot in a state where Alt-f/b no longer worked properly after running mutt. Users desiring this mode can manually configure their terminal. --- main.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/main.c b/main.c index 15507467..25568b49 100644 --- a/main.c +++ b/main.c @@ -623,9 +623,6 @@ static void start_curses(void) nonl(); #if HAVE_TYPEAHEAD typeahead(-1); /* simulate smooth scrolling */ -#endif -#if HAVE_META - meta(stdscr, TRUE); #endif init_extended_keys(); mutt_reflow_windows(); -- 2.54.0