mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
Move initialization of SLtt_Ignore_Beep variable from src/main.c into src/tty/tty-slang.c
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
parent
1d4318a2be
commit
d2d3ebf758
@ -2075,10 +2075,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"))
|
||||
return 1;
|
||||
mc_main__setup_by_args(argc,argv);
|
||||
|
@ -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);
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user