ui.tools.listener.completion: allow substring search in history. Fixes #133.
parent
c5601cd86e
commit
1c3c2e6b1a
|
@ -35,7 +35,7 @@ GENERIC: completion-quot ( interactor completion-mode -- quot )
|
||||||
M: word-completion completion-quot [ words-matching ] (completion-quot) ;
|
M: word-completion completion-quot [ words-matching ] (completion-quot) ;
|
||||||
M: vocab-completion completion-quot [ vocabs-matching ] (completion-quot) ;
|
M: vocab-completion completion-quot [ vocabs-matching ] (completion-quot) ;
|
||||||
M: char-completion completion-quot [ chars-matching ] (completion-quot) ;
|
M: char-completion completion-quot [ chars-matching ] (completion-quot) ;
|
||||||
M: history-completion completion-quot drop '[ drop _ history-list ] ;
|
M: history-completion completion-quot drop history-list [ completions ] curry ;
|
||||||
|
|
||||||
GENERIC: completion-element ( completion-mode -- element )
|
GENERIC: completion-element ( completion-mode -- element )
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue