diff options
| author | James Booth <boothj5@gmail.com> | 2015-06-15 20:39:17 +0100 |
|---|---|---|
| committer | James Booth <boothj5@gmail.com> | 2015-06-15 20:39:17 +0100 |
| commit | c76692516a65af35249e93071a6478fd9d799fff (patch) | |
| tree | 33cc0f7c7ec700e86a4ee81a2588ff8ba06ad60f /src/command | |
| parent | b52de6869a2d22426eb77ae62c17514fb8520308 (diff) | |
| parent | 5cdd69f478e6bbd4b8b0ca03daab56e6206c3ab2 (diff) | |
| download | profani-tty-c76692516a65af35249e93071a6478fd9d799fff.tar.gz | |
Merge branch 'master' into openpgp
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; } |