Junegunn Choi
28810c178f
Optimize ANSI code scanner
...
This change gives 5x speed improvement
7 years ago
Junegunn Choi
bd9c46ee34
Update ANSI processor to strip ^H along with its preceding character
8 years ago
Junegunn Choi
de1c6b8727
[tcell] 24-bit color support
...
TAGS=tcell make install
printf "\x1b[38;2;100;200;250mTRUECOLOR\x1b[m\n" |
TERM=xterm-truecolor fzf --ansi
8 years ago
Junegunn Choi
182a6d99fd
[ncurses6] Support italics
8 years ago
Junegunn Choi
dc557c0d4c
Update ANSI processor to handle more VT-100 escape sequences
...
The updated regular expression should include not all but most of the
frequently used ANSI sequences. Close #735 .
8 years ago
Junegunn Choi
0c573b3dff
Prepare for termbox/windows build
...
`TAGS=termbox make` (or `go build -tags termbox`)
8 years ago
Junegunn Choi
06a6ad8bca
Update ANSI processor to ignore ^N and ^O
...
This reverts commit 02c6ad0e59
.
8 years ago
Junegunn Choi
1fc5659842
Add support for more ANSI color attributes ( #674 )
...
Dim, underline, blink, reverse
8 years ago
Junegunn Choi
bef405bfa5
Ignore VT100-related escape codes
8 years ago
Junegunn Choi
0612074abe
Support high intensity colors
...
Close #671
8 years ago
Junegunn Choi
37dc273148
Micro-optimizations
...
- Make structs smaller
- Introduce Result struct and use it to represent matched items instead of
reusing Item struct for that purpose
- Avoid unnecessary memory allocation
- Avoid growing slice from the initial capacity
- Code cleanup
8 years ago
Junegunn Choi
a9a29dff4f
Fix duplicate rendering of the last line in preview window
8 years ago
Junegunn Choi
24e1fabf2e
Do not process ANSI codes in --preview output at once
...
Close #598
8 years ago
Junegunn Choi
0ea66329b8
Performance tuning - eager rune array conversion
...
> wc -l /tmp/list2
2594098 /tmp/list2
> time cat /tmp/list2 | fzf-0.10.1-darwin_amd64 -fqwerty > /dev/null
real 0m5.418s
user 0m10.990s
sys 0m1.302s
> time cat /tmp/list2 | fzf-head -fqwerty > /dev/null
real 0m4.862s
user 0m6.619s
sys 0m0.982s
9 years ago
Junegunn Choi
5e3cb3a4ea
Fix ANSI processor to handle multi-line regions
9 years ago
Junegunn Choi
b68e59a24b
Fix ANSI offset calculation
9 years ago
Junegunn Choi
ce7d4a1c53
Fix #162 - Ignore \e[K
10 years ago
Junegunn Choi
9d138173be
Fix #155 - Empty ANSI color code to reset color state
10 years ago
Junegunn Choi
618706a5f5
Fix ANSI output in the presence of multibyte characters
...
tree -C | fzf --ansi --tac
10 years ago
Junegunn Choi
b431e227da
Code cleanup
10 years ago
Junegunn Choi
e70a2a5817
Add support for ANSI color codes
10 years ago