diff --git a/src/main.c b/src/main.c index 516933ca5..4221a2fd3 100644 --- a/src/main.c +++ b/src/main.c @@ -1247,6 +1247,7 @@ setup_mc (void) verbose = !((tty_baudrate () < 9600) || tty_is_slow ()); + init_xterm_support (); init_mouse (); } @@ -1969,8 +1970,6 @@ main (int argc, char *argv[]) _("Cannot create %s directory"), mc_dir); g_free (mc_dir); - init_xterm_support (); - #ifdef HAVE_SUBSHELL_SUPPORT /* Done here to ensure that the subshell doesn't */ /* inherit the file descriptors opened below, etc */