diff --git a/src/ui/core.c b/src/ui/core.c index 21589e27..0ca23fe1 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -1123,17 +1123,6 @@ _ui_clear_current(void) wins_clear_current(); } -static void -_ui_close_current(void) -{ - int current_index = wins_get_current_num(); - status_bar_inactive(current_index); - wins_close_current(); - title_bar_console(); - status_bar_current(1); - status_bar_active(1); -} - static void _ui_close_win(int index) { @@ -3090,7 +3079,6 @@ ui_init_module(void) ui_next_win = _ui_next_win; ui_previous_win = _ui_previous_win; ui_clear_current = _ui_clear_current; - ui_close_current = _ui_close_current; ui_close_win = _ui_close_win; ui_tidy_wins = _ui_tidy_wins; ui_prune_wins = _ui_prune_wins; diff --git a/src/ui/ui.h b/src/ui/ui.h index a2d24786..556e37dd 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -101,7 +101,6 @@ int (*ui_close_all_wins)(void); int (*ui_close_read_wins)(void); // current window actions -void (*ui_close_current)(void); void (*ui_clear_current)(void); win_type_t (*ui_current_win_type)(void); int (*ui_current_win_index)(void);