From 1d761684c510a04f78349e8e64aa7ebd26578807 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 20 Apr 2025 11:24:50 +0900 Subject: 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. --- man/man1/fzf.1 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'man/man1') 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" -- cgit v1.2.3