mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-18 00:03:39 -05:00
Experimental Sixel support (#2544)
This commit is contained in:
@@ -473,6 +473,13 @@ func MakeTransparentBorder() BorderStyle {
|
||||
bottomRight: ' '}
|
||||
}
|
||||
|
||||
type termSize struct {
|
||||
Lines int
|
||||
Columns int
|
||||
Width int
|
||||
Height int
|
||||
}
|
||||
|
||||
type Renderer interface {
|
||||
Init()
|
||||
Resize(maxHeightFunc func(int) int)
|
||||
@@ -490,6 +497,8 @@ type Renderer interface {
|
||||
MaxX() int
|
||||
MaxY() int
|
||||
|
||||
Size() (termSize, error)
|
||||
|
||||
NewWindow(top int, left int, width int, height int, preview bool, borderStyle BorderStyle) Window
|
||||
}
|
||||
|
||||
@@ -499,6 +508,7 @@ type Window interface {
|
||||
Width() int
|
||||
Height() int
|
||||
|
||||
DrawBorder()
|
||||
DrawHBorder()
|
||||
Refresh()
|
||||
FinishFill()
|
||||
|
||||
Reference in New Issue
Block a user