diff --git a/docs/image-preview.md b/docs/image-preview.md index e8c21143..39274854 100644 --- a/docs/image-preview.md +++ b/docs/image-preview.md @@ -99,10 +99,10 @@ If the image shows properly when using Ɯberzug++ independently, but not when us The size of the image depends on two factors: -1. the user's settings for [max_width](/docs/configuration/yazi#max_width) and [max_height](/docs/configuration/yazi#max_height); -2. the pixel size of the terminal. +1. The [max_width](/docs/configuration/yazi#max_width) and [max_height](/docs/configuration/yazi#max_height) config options, which need to be adjusted by the user as needed. +2. The pixel size of the terminal. -Yazi will use the smaller of these two values as the image preview size. +Yazi will use the smaller of these two factors as the image preview size. However, some terminals (such as VSCode, Tabby, and all Windows terminals) don't implement the `ioctl` system call, before [Add `CSI 14 t` sequence support](https://github.com/crossterm-rs/crossterm/pull/810) is merged, it's not possible to obtain the actual pixel width and height of the terminal.