diff options
author | Joursoir <chat@joursoir.net> | 2021-11-30 17:37:25 +0300 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-11-30 17:37:25 +0300 |
commit | a3bf9b1132d9e495a462df05c9733090a641bbf1 (patch) | |
tree | 18b449c70d9c64c6d79b3d36cf678f484bcb68ce /Library/UefiShellUfmCommandLib | |
parent | a40e13b2de56e6c518230a337f5e62d53e74201f (diff) | |
download | ufm-a3bf9b1132d9e495a462df05c9733090a641bbf1.tar.gz ufm-a3bf9b1132d9e495a462df05c9733090a641bbf1.tar.bz2 ufm-a3bf9b1132d9e495a462df05c9733090a641bbf1.zip |
panel: make clear_list_line()
Diffstat (limited to 'Library/UefiShellUfmCommandLib')
-rw-r--r-- | Library/UefiShellUfmCommandLib/panel.c | 8 |
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; |