mirror of
https://github.com/junegunn/fzf.git
synced 2026-03-08 07:57:04 +08:00
Fix AWK tokenizer not treating a new line character as whitespace
This commit is contained in:
@@ -161,7 +161,7 @@ func awkTokenizer(input string) ([]string, int) {
|
||||
end := 0
|
||||
for idx := 0; idx < len(input); idx++ {
|
||||
r := input[idx]
|
||||
white := r == 9 || r == 32
|
||||
white := r == 9 || r == 32 || r == 10
|
||||
switch state {
|
||||
case awkNil:
|
||||
if white {
|
||||
|
||||
Reference in New Issue
Block a user