From d38c986c8220be0297d63e5c0f3cfbc9aa045dbd Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 28 Mar 2024 10:43:53 +0530 Subject: [PATCH] ... --- docs/kittens/icat.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/kittens/icat.rst b/docs/kittens/icat.rst index 2e9a2cb5e..0bdba853e 100644 --- a/docs/kittens/icat.rst +++ b/docs/kittens/icat.rst @@ -54,12 +54,12 @@ the escape codes for image display, you need to pass it options to tell it the window dimensions, where to place the image in the window and the transfer mode to use. If you do that, it will not try to communicate with the TTY device at all. The requisite options are: :option:`--use-window-size`, :option:`--place` -and :option:`--transfer-mode`. For example, to demonstrate usage without access -to the TTY: +and :option:`--transfer-mode`, :option:`--stdin=no`. +For example, to demonstrate usage without access to the TTY: .. code:: sh - zsh -c 'setsid kitten icat --use-window-size $COLUMNS,$LINES,3000,2000 --transfer-mode=file myimage.png' + zsh -c 'setsid kitten icat --stdin=no --use-window-size $COLUMNS,$LINES,3000,2000 --transfer-mode=file myimage.png' Here, ``setsid`` ensures icat has no access to the TTY device. The values, 3000, 2000 are made up. They are the window width and height in