aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-15 17:54:47 +0100
committerJames Booth <boothj5@gmail.com>2015-06-15 17:54:47 +0100
commita849b200b368a74da18291e875b3e6d37ea729f2 (patch)
treea205560ed6bac544e9eb070fc756a4945acd8ffc /src/command
parente9aa4ea0845b2e387a6512402d73fbc31b7bd393 (diff)
downloadprofani-tty-a849b200b368a74da18291e875b3e6d37ea729f2.tar.gz
Added win_clear() function
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 5d0f7a16..28cba7d7 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -3229,7 +3229,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();
+ win_clear(win);
return TRUE;
}