Set SLtt_Ignore_Beep in tty_init().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2010-11-09 14:10:14 +03:00
parent 9ec4d4c08b
commit 9b43d71799
2 changed files with 1 additions and 4 deletions

View File

@ -245,6 +245,7 @@ tty_init (gboolean slow, gboolean ugly_lines)
slow_tty = slow;
ugly_line_drawing = ugly_lines;
SLtt_Ignore_Beep = 1;
SLtt_get_terminfo ();
SLutf8_enable (-1);
/*

View File

@ -1969,10 +1969,6 @@ main (int argc, char *argv[])
edit_stack_init ();
#endif
#ifdef HAVE_SLANG
SLtt_Ignore_Beep = 1;
#endif
if (!mc_args_handle (argc, argv, "mc"))
exit (EXIT_FAILURE);