diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2013-05-03 18:28:27 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2013-05-03 18:44:27 +0200 |
| commit | 39f9ca33c8a60c3362afffb7681bc3941e671206 (patch) | |
| tree | c4212f6870680b9979d0bd99f035dc807b8da4f9 /src/input_handler.cc | |
| parent | 33740d06eed248787beed8b0f07c83bb8cc93bf4 (diff) | |
BufferCompleter: avoid modifying the buffer when not needed
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc index 83da2a07..a9925f00 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -632,7 +632,7 @@ public: } } reset(); - select(0); + setup_ifn(); } void reset() @@ -646,7 +646,7 @@ private: if (opt.name() == "completions") { reset(); - select(0); + setup_ifn(); } } |
