From a3bf9b1132d9e495a462df05c9733090a641bbf1 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Tue, 30 Nov 2021 17:37:25 +0300 Subject: panel: make clear_list_line() --- Library/UefiShellUfmCommandLib/panel.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Library/UefiShellUfmCommandLib') 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; -- cgit v1.2.3-18-g5258