done_screen() is moved from src/layout.c to src/main.c.

This commit is contained in:
Andrew Borodin 2009-06-02 23:41:40 +04:00
parent 16a15c0ee2
commit 28580ca023
3 changed files with 11 additions and 12 deletions

View File

@ -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)
{

View File

@ -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);

View File

@ -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)
{