From 21c1a0c2f10575dbb72fa873d33f0c1f6e170aa7 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 17 Oct 2021 17:20:23 +0100 Subject: patch 8.2.3530: ":buf \{a}" fails while ":edit \{a}" works Problem: ":buf \{a}" fails while ":edit \{a}" works. Solution: Unescape "\{". (closes #8917) --- src/terminal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/terminal.c') diff --git a/src/terminal.c b/src/terminal.c index cabcf9d1b..e9dd8ea16 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -667,7 +667,7 @@ term_start( if (s == NULL) break; - p = vim_strsave_fnameescape(s, FALSE); + p = vim_strsave_fnameescape(s, VSE_NONE); if (p == NULL) break; ga_concat(&ga, p); -- cgit v1.2.1