Sixel and Kitty image support on Windows binary (#2544)

This commit is contained in:
Junegunn Choi committed 2023-11-03 00:09:02 +09:00
1 parent d0466fa777
commit 68db9cb499
8 files changed
+59 -16

No files matched your search

+6 -2
View File
@@ -31,8 +31,12 @@ 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(str string) {
r.queued.WriteString("\x1b7" + str + "\x1b8")
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) stderr(str string) {