diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2025-04-20 11:24:50 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-20 11:24:50 +0900 |
| commit | 1d761684c510a04f78349e8e64aa7ebd26578807 (patch) | |
| tree | 3c910e51b1e5e86c8ea9f01d817602f5c28a4cfd /man | |
| parent | e491770f1c5f50cc969ff58228cd29a7cfa76663 (diff) | |
| download | fzf-1d761684c510a04f78349e8e64aa7ebd26578807.tar.gz | |
Add --tty-default=/dev/tty and --no-tty-default option (#4352)
Fix #4242.
Use --no-tty-default, if you want fzf to perform a TTY look-up instead of defaulting to /dev/tty.
Diffstat (limited to 'man')
| -rw-r--r-- | man/man1/fzf.1 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index b64b6100..5d4d653e 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -228,6 +228,13 @@ e.g. \fB# Avoid rendering both fzf instances at the same time (sleep 1; seq 1000000; sleep 1) | fzf \-\-sync \-\-query 5 \-\-listen \-\-bind start:up,load:up,result:up,focus:change\-header:Ready\fR .RE +.TP +.B "\-\-no\-tty\-default" +Make fzf search for the current TTY device via standard error instead of using +\fB/dev/tty\fR. This option was added to avoid the problem when trying to open +emacsclient from within fzf. Alternativly, you can change the default TTY +device by setting \fB--tty-default=DEVICE_NAME\fR. + .SS GLOBAL STYLE .TP .BI "\-\-style=" "PRESET" |
