diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2016-03-09 23:29:46 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2016-03-09 23:29:46 +0000 |
| commit | fcd3437fac01ecb942d3fd9116d1d1a3c455c59e (patch) | |
| tree | 479798e1738023100c58b9cb9ef13838bb08b85d /src/input_handler.cc | |
| parent | 2d494ccb8e72782a0a015c8890d39ab00d5ce4aa (diff) | |
| parent | 517abf5e74636052007db0938067aee7bf658965 (diff) | |
Merge branch 'json-ui'
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc index 3871398d..b1e71ed3 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -763,7 +763,11 @@ public: CandidateList& candidates = m_completions.candidates; // first try, we need to ask our completer for completions if (candidates.empty()) + { refresh_completions(CompletionFlags::None); + if (candidates.size() > 1) + return; + } if (candidates.empty()) return; |
