From: Michael Elkins Date: Sat, 7 Apr 2007 22:21:24 +0000 (-0700) Subject: add "|" to the list of shell chars X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=854aa48425e7be6d7c75bcd5ce0161135dc14d3a;p=neomutt add "|" to the list of shell chars --- diff --git a/enter.c b/enter.c index 9a1ac2d66..0a1470ca2 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; }