Add fuzzy non case sensistive search
This commit is contained in:
+1
-1
@@ -1,2 +1,2 @@
|
||||
__version__ = "2.1.7"
|
||||
__version__ = "2.1.8"
|
||||
|
||||
|
||||
@@ -586,6 +586,8 @@ class connapp:
|
||||
#Generates an inquirer list to pick
|
||||
if FzfPrompt and self.fzf:
|
||||
fzf = FzfPrompt(executable_path="fzf-tmux")
|
||||
if not self.case:
|
||||
fzf = FzfPrompt(executable_path="fzf-tmux -i")
|
||||
answer = fzf.prompt(list, fzf_options="-d 25%")
|
||||
if len(answer) == 0:
|
||||
return
|
||||
|
||||
+4
-4
@@ -241,7 +241,7 @@ class node:
|
||||
default False.
|
||||
|
||||
- timeout (int):Time in seconds for expect to wait for prompt/EOF.
|
||||
default 20.
|
||||
default 10.
|
||||
|
||||
### Returns:
|
||||
|
||||
@@ -324,7 +324,7 @@ class node:
|
||||
need some special symbol.
|
||||
|
||||
- timeout (int):Time in seconds for expect to wait for prompt/EOF.
|
||||
default 20.
|
||||
default 10.
|
||||
|
||||
### Returns:
|
||||
bool: true if expected value is found after running the commands
|
||||
@@ -563,7 +563,7 @@ class nodes:
|
||||
number of members.
|
||||
|
||||
- timeout (int): Time in seconds for expect to wait for prompt/EOF.
|
||||
default 20.
|
||||
default 10.
|
||||
|
||||
###Returns:
|
||||
|
||||
@@ -644,7 +644,7 @@ class nodes:
|
||||
number of members.
|
||||
|
||||
- timeout (int): Time in seconds for expect to wait for prompt/EOF.
|
||||
default 20.
|
||||
default 10.
|
||||
|
||||
### Returns:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user