spdk_top: add clear to the tab area after switch
Adds a window clear for the tab area after switching to another tab. This is to avoid possible artifacts from previous tab after switching. Added a column description redraw after the clear. Fixes #2053 Change-Id: I204410096e5f2401938a36a8f29a09904eca83a8 Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9312 Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Chengqiang Meng <chengqiangx.meng@intel.com> Reviewed-by: Dong Yi <dongx.yi@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
7c2524b8eb
commit
cda7ddebd7
@ -1119,6 +1119,8 @@ resize_interface(enum tabs tab)
|
||||
static void
|
||||
switch_tab(enum tabs tab)
|
||||
{
|
||||
wclear(g_tabs[tab]);
|
||||
draw_tabs(tab, g_current_sort_col[tab]);
|
||||
top_panel(g_panels[tab]);
|
||||
update_panels();
|
||||
doupdate();
|
||||
|
Loading…
x
Reference in New Issue
Block a user