mirror of
https://github.com/junegunn/fzf.git
synced 2025-08-29 11:23:50 -07:00
@@ -856,6 +856,7 @@ func (t *Terminal) environ() []string {
|
||||
env = append(env, fmt.Sprintf("FZF_SELECT_COUNT=%d", len(t.selected)))
|
||||
env = append(env, fmt.Sprintf("FZF_LINES=%d", t.areaLines))
|
||||
env = append(env, fmt.Sprintf("FZF_COLUMNS=%d", t.areaColumns))
|
||||
env = append(env, fmt.Sprintf("FZF_POS=%d", util.Min(t.merger.Length(), t.cy+1)))
|
||||
return env
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user