Commit 0d85c5bb authored by Krzysztof Karas's avatar Krzysztof Karas Committed by Tomasz Zawadzki
Browse files

spdk_top: unify opening and closing pop-up details windows



Changes threads details pop-up and pollers pop-up to open with Enter key
and close with Esc key only. This is to avoid confusion in the future
as now those pop-ups can be opened and closed with both Enter and Esc
and and others can only be closed with Esc key.

Signed-off-by: default avatarKrzysztof Karas <krzysztof.karas@intel.com>
Change-Id: I7e8c5a172346662a21f65c7193fc1cbd830fd1e7
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6196


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
parent e3d29a30
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2005,7 +2005,6 @@ display_thread(struct rpc_thread_info *thread_info)
		c = wgetch(thread_win);

		switch (c) {
		case 10: /* ENTER */
		case 27: /* ESC */
			stop_loop = true;
			break;
@@ -2230,7 +2229,6 @@ show_poller(uint8_t current_page)
	while (!stop_loop) {
		c = wgetch(poller_win);
		switch (c) {
		case 10: /* ENTER */
		case 27: /* ESC */
			stop_loop = true;
			break;