+6
−14
Loading
Changes calling refresh on different parts of spdk_top window. refresh() function copies the virtual screen contents to the terminal. With constant refreshes the terminal would blink. To fix this refresh() is replaced with wnoutrefresh() calls, which only refreshes the virtual screen. After all changes to the terminal are ready, one refresh() is enough to draw everything on screen. Signed-off-by:Krzysztof Karas <krzysztof.karas@intel.com> Change-Id: I16b526a1cac8f68dee833ae775cfddee131851d0 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7286 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>