summaryrefslogtreecommitdiffstats
path: root/helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'helpers.c')
-rw-r--r--helpers.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/helpers.c b/helpers.c
index 2cd119d..f7cc9c2 100644
--- a/helpers.c
+++ b/helpers.c
@@ -53,3 +53,7 @@ int pprintw(PANEL *pan, const char *fmt, ...) {
va_end(args);
return res;
}
+
+int pclear(PANEL *pan) {
+ return wclear(panel_window(pan));
+}