From 38e3694d1ca5f138f26fbbffb7c0122b58eee8dc Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Fri, 10 Nov 2023 12:55:18 +0900 Subject: Revert "Sixel and Kitty image support on Windows binary (#2544)" This reverts commit 68db9cb499ab32190edae6c285942c5fb7cf39ed. --- src/tui/light.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/tui/light.go') 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) { -- cgit v1.2.3