mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
done_screen() is moved from src/layout.c to src/main.c.
This commit is contained in:
parent
16a15c0ee2
commit
28580ca023
11
src/layout.c
11
src/layout.c
@ -574,17 +574,6 @@ clr_scr (void)
|
||||
tty_refresh ();
|
||||
}
|
||||
|
||||
void
|
||||
done_screen ()
|
||||
{
|
||||
if (!(quit & SUBSHELL_EXIT))
|
||||
clr_scr ();
|
||||
tty_reset_shell_mode ();
|
||||
tty_noraw_mode ();
|
||||
tty_keypad (FALSE);
|
||||
tty_colors_done ();
|
||||
}
|
||||
|
||||
static void
|
||||
panel_do_cols (int index)
|
||||
{
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "widget.h"
|
||||
|
||||
void layout_cmd (void);
|
||||
void done_screen (void);
|
||||
void setup_panels (void);
|
||||
void destroy_panels (void);
|
||||
void move_resize_panel (void);
|
||||
|
11
src/main.c
11
src/main.c
@ -1524,6 +1524,17 @@ static void check_codeset()
|
||||
#endif /* HAVE_CHARSET */
|
||||
}
|
||||
|
||||
static void
|
||||
done_screen (void)
|
||||
{
|
||||
if (!(quit & SUBSHELL_EXIT))
|
||||
clr_scr ();
|
||||
tty_reset_shell_mode ();
|
||||
tty_noraw_mode ();
|
||||
tty_keypad (FALSE);
|
||||
tty_colors_done ();
|
||||
}
|
||||
|
||||
static void
|
||||
done_mc (void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user