summaryrefslogtreecommitdiff
path: root/src/ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ops.c')
-rw-r--r--src/ops.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ops.c b/src/ops.c
index 701b3393b..3fe69fc75 100644
--- a/src/ops.c
+++ b/src/ops.c
@@ -1042,6 +1042,9 @@ do_record(c)
retval = FAIL;
else
{
+ /* Remove escaping for CSI and K_SPECIAL in multi-byte chars. */
+ vim_unescape_csi(p);
+
/*
* We don't want to change the default register here, so save and
* restore the current register name.