mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-01 12:42:01 -07:00
Fix preview scrollbar with '--preview-window bottom,border-line'
This commit is contained in:
@@ -336,6 +336,10 @@ func (o *previewOpts) HasBorderRight() bool {
|
||||
return o.border.HasRight() || o.border == tui.BorderLine && o.position == posLeft
|
||||
}
|
||||
|
||||
func (o *previewOpts) HasBorderTop() bool {
|
||||
return o.border.HasTop() || o.border == tui.BorderLine && o.position == posDown
|
||||
}
|
||||
|
||||
func defaultTmuxOptions(index int) *tmuxOptions {
|
||||
return &tmuxOptions{
|
||||
position: posCenter,
|
||||
|
Reference in New Issue
Block a user