From 4635f00e2d6dc6716dba06a7d9188f95a9f4fadf Mon Sep 17 00:00:00 2001 From: Krzysztof Karas Date: Tue, 2 Nov 2021 10:25:57 +0000 Subject: [PATCH] spdk_top: fix column descriptions after window resizing Currently we run into a visual issue with spdk_top after resizing terminal, because we redraw all column descriptions, instead of those in current tab. Fixes #2219 Change-Id: I3a83a00b5ab03ba17ecdc2984b28da0aa498c6f5 Signed-off-by: Krzysztof Karas Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10087 Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Ben Walker --- 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 c8654c8b0..18e8831f2 100644 --- a/app/spdk_top/spdk_top.c +++ b/app/spdk_top/spdk_top.c @@ -1127,7 +1127,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]); } draw_tabs(tab, g_current_sort_col[tab]);