From 27d157c187eb165a0dadd510529af14cc3fea95d Mon Sep 17 00:00:00 2001 From: Krzysztof Karas Date: Mon, 21 Feb 2022 10:43:28 +0000 Subject: [PATCH] spdk_top: fix broken column names after resizing Redraw only current tab's column descriptions upon resizing terminal to avoid writing text from other columns. Change-Id: I50f2be79615b08f42b2f8600cdb95048eda8ab56 Signed-off-by: Krzysztof Karas Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11684 Reviewed-by: Tomasz Zawadzki Reviewed-by: Jim Harris Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins --- app/spdk_top/spdk_top.c | 1 - 1 file changed, 1 deletion(-) diff --git a/app/spdk_top/spdk_top.c b/app/spdk_top/spdk_top.c index 76dc1c5a3..e47bdb73a 100644 --- a/app/spdk_top/spdk_top.c +++ b/app/spdk_top/spdk_top.c @@ -1273,7 +1273,6 @@ resize_interface(enum tabs tab) wclear(g_tabs[i]); wresize(g_tabs[i], g_max_row - MENU_WIN_HEIGHT - TAB_WIN_HEIGHT - 2, g_max_col); mvwin(g_tabs[i], TABS_LOCATION_ROW, TABS_LOCATION_COL); - draw_tabs(i, g_current_sort_col[i], g_current_sort_col2[i]); } draw_tabs(tab, g_current_sort_col[tab], g_current_sort_col2[tab]);