From 39f9ca33c8a60c3362afffb7681bc3941e671206 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 3 May 2013 18:28:27 +0200 Subject: [PATCH] BufferCompleter: avoid modifying the buffer when not needed --- src/input_handler.cc | 4 ++-- 1 file 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(); } }