diff options
author | okan <okan> | 2016-12-01 18:44:09 +0000 |
---|---|---|
committer | okan <okan> | 2016-12-01 18:44:09 +0000 |
commit | b94f0748d8872fa52f6c4f0e2feeba8e2dae131e (patch) | |
tree | 9c32549a646a68d40094c28718ed3b8b9de05a16 /kbfunc.c | |
parent | 92111e526d34a0bd808c40ae5d7634900c726d0b (diff) | |
download | cwm-b94f0748d8872fa52f6c4f0e2feeba8e2dae131e.tar.gz cwm-b94f0748d8872fa52f6c4f0e2feeba8e2dae131e.tar.xz cwm-b94f0748d8872fa52f6c4f0e2feeba8e2dae131e.zip |
Switch ssh menu to search_match_text; like group/window/cmd menus, use only a
substring match. The previous matching is only intended for the exec menus.
Diffstat (limited to 'kbfunc.c')
-rw-r--r-- | kbfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kbfunc.c b/kbfunc.c index 0284928..995a8e7 100644 --- a/kbfunc.c +++ b/kbfunc.c @@ -526,7 +526,7 @@ kbfunc_menu_ssh(void *ctx, union arg *arg, enum xev xev) (void)fclose(fp); menu: if ((mi = menu_filter(sc, &menuq, "ssh", NULL, (CWM_MENU_DUMMY), - search_match_exec, NULL)) != NULL) { + search_match_text, NULL)) != NULL) { if (mi->text[0] == '\0') goto out; l = snprintf(path, sizeof(path), "%s -T '[ssh] %s' -e ssh %s", |