diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-08-14 08:43:27 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-08-14 08:51:34 +0900 |
| commit | d90a969c00401a11d86a238eef29048dea42398a (patch) | |
| tree | be0bbec4ede7c5bc4f7024592ac955045ff980b7 /src/result_test.go | |
| parent | 2c8a96bb27d3da089ab89d47143dd3c6854d1295 (diff) | |
| download | fzf-d90a969c00401a11d86a238eef29048dea42398a.tar.gz | |
Add support for hyperlinks in preview window
Close #2165
Diffstat (limited to 'src/result_test.go')
| -rw-r--r-- | src/result_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/result_test.go b/src/result_test.go index 2f818a9b..c11e1ab5 100644 --- a/src/result_test.go +++ b/src/result_test.go @@ -124,10 +124,10 @@ func TestColorOffset(t *testing.T) { item := Result{ item: &Item{ colors: &[]ansiOffset{ - {[2]int32{0, 20}, ansiState{1, 5, 0, -1}}, - {[2]int32{22, 27}, ansiState{2, 6, tui.Bold, -1}}, - {[2]int32{30, 32}, ansiState{3, 7, 0, -1}}, - {[2]int32{33, 40}, ansiState{4, 8, tui.Bold, -1}}}}} + {[2]int32{0, 20}, ansiState{1, 5, 0, -1, nil}}, + {[2]int32{22, 27}, ansiState{2, 6, tui.Bold, -1, nil}}, + {[2]int32{30, 32}, ansiState{3, 7, 0, -1, nil}}, + {[2]int32{33, 40}, ansiState{4, 8, tui.Bold, -1, nil}}}}} colBase := tui.NewColorPair(89, 189, tui.AttrUndefined) colMatch := tui.NewColorPair(99, 199, tui.AttrUndefined) |
