diff options
author | Joursoir <chat@joursoir.net> | 2021-12-01 20:09:08 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-12-01 20:09:08 +0300 |
commit | a3fb7dc6de738d76829ec0179f2a1d6b5d2c44be (patch) | |
tree | 6d64cbb299c17dfc9387a7c7c813b808d299aa77 /Library/UefiShellUfmCommandLib | |
parent | 1610ce54d4dbc7c73dac837cdda2eb23520bc1c6 (diff) | |
download | ufm-a3fb7dc6de738d76829ec0179f2a1d6b5d2c44be.tar.gz ufm-a3fb7dc6de738d76829ec0179f2a1d6b5d2c44be.tar.bz2 ufm-a3fb7dc6de738d76829ec0179f2a1d6b5d2c44be.zip |
panel: make panel_refresh()
Diffstat (limited to 'Library/UefiShellUfmCommandLib')
-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 */ |