diff --git a/src/command/command.c b/src/command/command.c index d0f13c8b..1775de2a 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -2302,7 +2302,7 @@ _cmd_tiny(gchar **args, struct cmd_help_t help) static gboolean _cmd_clear(gchar **args, struct cmd_help_t help) { - win_current_clear(); + ui_clear_current(); return TRUE; } @@ -2338,7 +2338,7 @@ _cmd_close(gchar **args, struct cmd_help_t help) } // close the window - win_current_close(); + ui_close_current(); return TRUE; } diff --git a/src/ui/core.c b/src/ui/core.c index 719c8a24..846ba5d1 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -513,14 +513,14 @@ ui_switch_win(const int i) } void -win_current_clear(void) +ui_clear_current(void) { wclear(current->win); dirty = TRUE; } void -win_current_close(void) +ui_close_current(void) { window_free(current); windows[current_index] = NULL; diff --git a/src/ui/ui.h b/src/ui/ui.h index e1ecb83b..937ab566 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -84,8 +84,8 @@ void title_bar_set_typing(gboolean is_typing); void title_bar_draw(void); // current window actions -void win_current_close(void); -void win_current_clear(void); +void ui_close_current(void); +void ui_clear_current(void); int win_current_is_console(void); int win_current_is_chat(void); int win_current_is_groupchat(void);