diff options
Diffstat (limited to 'Library')
-rw-r--r-- | Library/UefiShellUfmCommandLib/panel.c | 8 | ||||
-rw-r--r-- | Library/UefiShellUfmCommandLib/panel.h | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/Library/UefiShellUfmCommandLib/panel.c b/Library/UefiShellUfmCommandLib/panel.c index f1a9daf..e06a051 100644 --- a/Library/UefiShellUfmCommandLib/panel.c +++ b/Library/UefiShellUfmCommandLib/panel.c @@ -373,3 +373,11 @@ EFI_INPUT_KEY panel_getch(struct panel_ctx *p) return wgetch(p->wbg); } +VOID panel_refresh(struct panel_ctx *p) +{ + wrefresh(p->wbg); + wrefresh(p->wcwd); + wrefresh(p->wlist); + wrefresh(p->wfname); + wrefresh(p->wmarked); +} diff --git a/Library/UefiShellUfmCommandLib/panel.h b/Library/UefiShellUfmCommandLib/panel.h index 9006416..9adddd3 100644 --- a/Library/UefiShellUfmCommandLib/panel.h +++ b/Library/UefiShellUfmCommandLib/panel.h @@ -101,4 +101,13 @@ BOOLEAN panel_mark_file(struct panel_ctx *p, UINTN line); */ EFI_INPUT_KEY panel_getch(struct panel_ctx *p); +/* + * Does the output of panel to the terminal + * + * w: the panel on which to operate + * + * return: VOID +*/ +VOID panel_refresh(struct panel_ctx *p); + #endif /* UFM_PANEL_H */ |