diff options
| author | James Booth <boothj5@gmail.com> | 2015-06-15 17:54:47 +0100 |
|---|---|---|
| committer | James Booth <boothj5@gmail.com> | 2015-06-15 17:54:47 +0100 |
| commit | a849b200b368a74da18291e875b3e6d37ea729f2 (patch) | |
| tree | a205560ed6bac544e9eb070fc756a4945acd8ffc /src/command | |
| parent | e9aa4ea0845b2e387a6512402d73fbc31b7bd393 (diff) | |
| download | profani-tty-a849b200b368a74da18291e875b3e6d37ea729f2.tar.gz | |
Added win_clear() function
Diffstat (limited to 'src/command')
| -rw-r--r-- | src/command/commands.c | 3 |
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; } |