diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2023-11-10 12:55:18 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2023-11-10 13:16:11 +0900 |
| commit | 38e3694d1ca5f138f26fbbffb7c0122b58eee8dc (patch) | |
| tree | 70adaeba1deef894b5c3fc73470c23c239d132ec /src/tui/light.go | |
| parent | 108493524110c8f996231eb5e51b93da7a9b57ca (diff) | |
| download | fzf-38e3694d1ca5f138f26fbbffb7c0122b58eee8dc.tar.gz | |
Revert "Sixel and Kitty image support on Windows binary (#2544)"
This reverts commit 68db9cb499ab32190edae6c285942c5fb7cf39ed.
Diffstat (limited to 'src/tui/light.go')
| -rw-r--r-- | src/tui/light.go | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tui/light.go b/src/tui/light.go index dd1f9f3d..e5950cde 100644 --- a/src/tui/light.go +++ b/src/tui/light.go @@ -31,12 +31,8 @@ const consoleDevice string = "/dev/tty" var offsetRegexp *regexp.Regexp = regexp.MustCompile("(.*)\x1b\\[([0-9]+);([0-9]+)R") var offsetRegexpBegin *regexp.Regexp = regexp.MustCompile("^\x1b\\[[0-9]+;[0-9]+R") -func (r *LightRenderer) PassThrough(y int, x int, data string) { - r.queued.WriteString("\x1b7" + data + "\x1b8") -} - -func (r *LightRenderer) Sync(bool) { - // No-op +func (r *LightRenderer) PassThrough(str string) { + r.queued.WriteString("\x1b7" + str + "\x1b8") } func (r *LightRenderer) stderr(str string) { |
