aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 42ebc71..b8e87a0 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -231,6 +231,9 @@ main(int argc, char **argv)
/*
* If munged file didn't quit, switch into interactive mode
*/
+ /* commandline replacement string register */
+ QRegisters::globals.initialize("\x1B");
+
Goto::table = &cmdline_goto_table;
interface.ssm(SCI_EMPTYUNDOBUFFER);
undo.enabled = true;