diff options
Diffstat (limited to 'src/command')
| -rw-r--r-- | src/command/command.c | 2 | ||||
| -rw-r--r-- | src/command/commands.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/command/command.c b/src/command/command.c index 4599a022..840a23e5 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -66,7 +66,7 @@ #include "xmpp/xmpp.h" #include "xmpp/bookmark.h" #include "ui/ui.h" -#include "ui/windows.h" +#include "window_list.h" typedef char*(*autocompleter)(char*, int*); diff --git a/src/command/commands.c b/src/command/commands.c index 3c8bd118..96cca6e1 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -67,7 +67,7 @@ #include "xmpp/xmpp.h" #include "xmpp/bookmark.h" #include "ui/ui.h" -#include "ui/windows.h" +#include "window_list.h" #include "event/client_events.h" #include "event/ui_events.h" @@ -3240,7 +3240,8 @@ cmd_tiny(gchar **args, struct cmd_help_t help) gboolean cmd_clear(gchar **args, struct cmd_help_t help) { - ui_clear_current(); + ProfWin *win = wins_get_current(); + ui_clear_win(win); return TRUE; } |