diff options
| author | Malfurious <m@lfurio.us> | 2023-07-07 19:39:33 -0400 |
|---|---|---|
| committer | Malfurious <m@lfurio.us> | 2023-07-07 19:39:33 -0400 |
| commit | 415c553d96c4851350512cc943e10ec477427e02 (patch) | |
| tree | a3adfa0da1aed3a31bfbcb3a55293bf596b37f4a /helpers.c | |
| parent | d1fc03d6758dcb7ccca3e4255114d85acfad08d4 (diff) | |
| download | misplays-415c553d96c4851350512cc943e10ec477427e02.tar.gz misplays-415c553d96c4851350512cc943e10ec477427e02.zip | |
Add panel clear helper
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'helpers.c')
| -rw-r--r-- | helpers.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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)); +} |
