diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-01-26 16:14:02 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-01-27 19:51:58 +0000 |
| commit | 37b4eacdc86e04dbca168b430eaedd829dd24ae6 (patch) | |
| tree | e1aef5914c77a2810541af1f1c7a728f927ec692 /src/completion.hh | |
| parent | 00c1523c6e0d03b5176b5066d44934d3fbe1704d (diff) | |
Rework command completion to allow partial token completion
Implement hook completion.
fixes #44
Diffstat (limited to 'src/completion.hh')
| -rw-r--r-- | src/completion.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/completion.hh b/src/completion.hh index 70241f42..fc58d1c4 100644 --- a/src/completion.hh +++ b/src/completion.hh @@ -25,6 +25,9 @@ struct Completions Completions(ByteCount start, ByteCount end) : start(start), end(end) {} + + Completions(ByteCount start, ByteCount end, CandidateList candidates) + : start(start), end(end), candidates(std::move(candidates)) {} }; enum class CompletionFlags |
