Skip to content

Commit

Permalink
docs: add faq about image preview size
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Oct 24, 2023
1 parent fe52b71 commit e9ab836
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions usage/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ That's it! you can now get Yazi's image preview working properly.
</div>
</details>

Before [Add `CSI 14 t` sequence support](https://github.com/crossterm-rs/crossterm/pull/810) is merged, it is not possible to obtain the actual width and height of the terminal.

Therefore, the Windows version of Yazi currently uses `preview.max_width` and `preview.max_height` specified by the user in the `yazi.toml` as the image size.

## Why can't "Open" and "Enter" be a single command?

The decision to separate `enter` and `open` commands was intentional.
Expand Down

0 comments on commit e9ab836

Please sign in to comment.