Make sure the "command regex add" has a unique name for editline history purposes.
authorGreg Clayton <gclayton@apple.com>
Wed, 9 Jul 2014 20:18:54 +0000 (20:18 +0000)
committerGreg Clayton <gclayton@apple.com>
Wed, 9 Jul 2014 20:18:54 +0000 (20:18 +0000)
llvm-svn: 212644

lldb/source/Commands/CommandObjectCommands.cpp

index 04c5e1a..7d9bb7d 100644 (file)
@@ -1034,7 +1034,7 @@ protected:
                 Debugger &debugger = m_interpreter.GetDebugger();
                 const bool multiple_lines = true; // Get multiple lines
                 IOHandlerSP io_handler_sp (new IOHandlerEditline (debugger,
-                                                                  "lldb",       // Name of input reader for history
+                                                                  "lldb-regex", // Name of input reader for history
                                                                   "\033[K> ",   // Prompt and clear line
                                                                   multiple_lines,
                                                                   0,            // Don't show line numbers