about summary refs log tree commit diff stats
path: root/src/command/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/commands.c')
-rw-r--r--src/command/commands.c5
1 files changed, 3 insertions, 2 deletions
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;
 }