m/fzf
1
0
mirror of https://github.com/junegunn/fzf.git synced 2025-11-17 15:53:39 -05:00

Implement height range (--height ~[VALUE][%])

Close #2953
This commit is contained in:
Junegunn Choi
2022-09-08 01:01:22 +09:00
parent 984049586a
commit 22cbd9fa58
11 changed files with 329 additions and 67 deletions

View File

@@ -99,6 +99,8 @@ const (
AttrClear = Attr(1 << 8)
)
func (r *FullscreenRenderer) Resize(maxHeightFunc func(int) int) {}
func (r *FullscreenRenderer) defaultTheme() *ColorTheme {
if _screen.Colors() >= 256 {
return Dark256