From 21ab64e96213ec99cf3f6f207690ffe710713fcc Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Thu, 2 Nov 2023 01:35:36 +0900 Subject: sixel: Export $FZF_PREVIEW_TOP to the preview command (#2544) So that it can determine if it should subtract 1 from $FZF_PREVIEW_LINES to avoid scrolling issue of Sixel image that touches the bottom of the screen. --- src/tui/dummy.go | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tui/dummy.go') diff --git a/src/tui/dummy.go b/src/tui/dummy.go index 13c2aeec..cceb4478 100644 --- a/src/tui/dummy.go +++ b/src/tui/dummy.go @@ -41,6 +41,7 @@ func (r *FullscreenRenderer) Close() {} func (r *FullscreenRenderer) Size() TermSize { return TermSize{} } func (r *FullscreenRenderer) GetChar() Event { return Event{} } +func (r *FullscreenRenderer) Top() int { return 0 } func (r *FullscreenRenderer) MaxX() int { return 0 } func (r *FullscreenRenderer) MaxY() int { return 0 } -- cgit v1.2.3