diff --git a/internal/complete/complete.go b/internal/complete/complete.go index abab15d..7c81cd1 100644 --- a/internal/complete/complete.go +++ b/internal/complete/complete.go @@ -139,6 +139,8 @@ func doComplete(compLine string, compWord string) { return } + input = append(input, '\n') + // If input is bigger than 100MB, skip completion. if len(input) > 100*1024*1024 { return