aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-11-30 17:37:25 +0300
committerJoursoir <chat@joursoir.net>2021-11-30 17:37:25 +0300
commita3bf9b1132d9e495a462df05c9733090a641bbf1 (patch)
tree18b449c70d9c64c6d79b3d36cf678f484bcb68ce /Library
parenta40e13b2de56e6c518230a337f5e62d53e74201f (diff)
downloadufm-a3bf9b1132d9e495a462df05c9733090a641bbf1.tar.gz
ufm-a3bf9b1132d9e495a462df05c9733090a641bbf1.tar.bz2
ufm-a3bf9b1132d9e495a462df05c9733090a641bbf1.zip
panel: make clear_list_line()
Diffstat (limited to 'Library')
-rw-r--r--Library/UefiShellUfmCommandLib/panel.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/UefiShellUfmCommandLib/panel.c b/Library/UefiShellUfmCommandLib/panel.c
index df1be44..cc33aee 100644
--- a/Library/UefiShellUfmCommandLib/panel.c
+++ b/Library/UefiShellUfmCommandLib/panel.c
@@ -45,6 +45,14 @@ STATIC CONST CHAR16 *get_month_string(UINT8 month)
return L"xxx";
}
+STATIC VOID clear_list_line(struct panel_ctx *p, UINTN line)
+{
+ mvwprintf(p->wlist, 0, line, L"%-*s%c%*s%c%*s",
+ p->name_cols, L"", BOXDRAW_VERTICAL,
+ SIZE_COLS, L"", BOXDRAW_VERTICAL,
+ MODIFYTIME_COLS, L"");
+}
+
STATIC VOID display_fs(struct panel_ctx *p, UINTN start_index)
{
UINTN line, i;