diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-02-26 16:17:12 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2025-02-26 16:17:12 +0900 |
| commit | 639253840fc553cc6a082b3f1275e72903ecc0eb (patch) | |
| tree | ee2f85e02020ea3e2bcc7f7afcba4caf7b698eaf /src/core.go | |
| parent | 710ebdf9c14e0c88b0cfc843ce08edcdd4554571 (diff) | |
| download | fzf-639253840fc553cc6a082b3f1275e72903ecc0eb.tar.gz | |
Trim trailing whitespaces after processing ANSI sequences
Close #4282
Diffstat (limited to 'src/core.go')
| -rw-r--r-- | src/core.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core.go b/src/core.go index 404af12a..42add205 100644 --- a/src/core.go +++ b/src/core.go @@ -135,6 +135,7 @@ func Run(opts *Options) (int, error) { return false } item.text, item.colors = ansiProcessor(stringBytes(transformed)) + item.text.TrimTrailingWhitespaces() item.text.Index = itemIndex item.origText = &data itemIndex++ |
