mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 15:53:39 -05:00
Add border-native option to --tmux flag (#4157)
This commit adds the `border-native` resulting in the following: ``` --tmux[=[center|top|bottom|left|right][,SIZE[%]][,SIZE[%]][,border-native]] ``` By default, when not specified, the `-B` flag is passed to the `tmux popup-window` command such that no border is drawn around the tmux popup window. When the `border-native` option is present, the `-B` flag is omitted and the popup window is drawn using the border style configured in the tmux config file. Fixes #4156 Signed-off-by: Andreas Auernhammer <github@aead.dev> Co-authored-by: Junegunn Choi <junegunn.c@gmail.com>
This commit is contained in:
committed by
GitHub
parent
fb3bf6c984
commit
120cd7f25a
@@ -343,7 +343,7 @@ fzf --height -3
|
||||
With `--tmux` option, fzf will start in a tmux popup.
|
||||
|
||||
```sh
|
||||
# --tmux [center|top|bottom|left|right][,SIZE[%]][,SIZE[%]]
|
||||
# --tmux [center|top|bottom|left|right][,SIZE[%]][,SIZE[%][,border-native]]
|
||||
|
||||
fzf --tmux center # Center, 50% width and height
|
||||
fzf --tmux 80% # Center, 80% width and height
|
||||
|
||||
Reference in New Issue
Block a user