aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-12-01 20:09:08 +0300
committerJoursoir <chat@joursoir.net>2021-12-01 20:09:08 +0300
commita3fb7dc6de738d76829ec0179f2a1d6b5d2c44be (patch)
tree6d64cbb299c17dfc9387a7c7c813b808d299aa77 /Library
parent1610ce54d4dbc7c73dac837cdda2eb23520bc1c6 (diff)
downloadufm-a3fb7dc6de738d76829ec0179f2a1d6b5d2c44be.tar.gz
ufm-a3fb7dc6de738d76829ec0179f2a1d6b5d2c44be.tar.bz2
ufm-a3fb7dc6de738d76829ec0179f2a1d6b5d2c44be.zip
panel: make panel_refresh()
Diffstat (limited to 'Library')
-rw-r--r--Library/UefiShellUfmCommandLib/panel.c8
-rw-r--r--Library/UefiShellUfmCommandLib/panel.h9
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 */