From 7f747272d44245fd7f041a7c3c30429c6de7b277 Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Sat, 7 Apr 2007 15:21:24 -0700 Subject: [PATCH] add "|" to the list of shell chars --- enter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enter.c b/enter.c index 9a1ac2d6..0a1470ca 100644 --- a/enter.c +++ b/enter.c @@ -191,7 +191,7 @@ static void replace_part (ENTER_STATE *state, size_t from, char *buf) */ inline int is_shell_char(wchar_t ch) { - static wchar_t shell_chars[] = L"<>&()$?*;{} "; /* ! not included because it can be part of a pathname in Mutt */ + static wchar_t shell_chars[] = L"<>&()$?*;{}| "; /* ! not included because it can be part of a pathname in Mutt */ return wcschr(shell_chars, ch) != NULL; } -- 2.40.0