mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 17:31:02 +01:00
25761: Mikael Magnusson: newline in getquery()
This commit is contained in:
parent
043959b0be
commit
e6dec182d0
2 changed files with 6 additions and 0 deletions
|
|
@ -2175,6 +2175,7 @@ getquery(char *valid_chars, int purge)
|
|||
break;
|
||||
if (c == '\n') {
|
||||
c = *valid_chars;
|
||||
nl = 1;
|
||||
break;
|
||||
}
|
||||
if (strchr(valid_chars, c)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue