From 120cd7f25a8209297f15b0a79b36c44b30e641fb Mon Sep 17 00:00:00 2001 From: Andreas Auernhammer Date: Sat, 4 Jan 2025 10:30:32 +0100 Subject: 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 Co-authored-by: Junegunn Choi --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1172d12f..0faa552e 100644 --- a/README.md +++ b/README.md @@ -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 -- cgit v1.2.3