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: Krzysztof Karas <krzysztof.karas@intel.com> Change-Id: I7e8c5a172346662a21f65c7193fc1cbd830fd1e7 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6196 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
e3d29a3012
commit
0d85c5bba9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user