From c0a332743fe4be831193044e306472a3c8f62822 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 12 Aug 2018 03:37:13 -0700 Subject: [PATCH] Escape less aggressively when showing completions in pager Stop escaping [, spaces, etc. in the pager. --- src/pager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pager.cpp b/src/pager.cpp index dc6802308..591262b33 100644 --- a/src/pager.cpp +++ b/src/pager.cpp @@ -306,7 +306,7 @@ static comp_info_list_t process_completions_into_infos(const completion_list_t & comp_t *comp_info = &result.at(i); // Append the single completion string. We may later merge these into multiple. - comp_info->comp.push_back(escape_string(comp.completion, ESCAPE_ALL | ESCAPE_NO_QUOTED)); + comp_info->comp.push_back(escape_string(comp.completion, ESCAPE_NO_QUOTED)); // Append the mangled description. comp_info->desc = comp.description;