diff --git a/docs/image-preview.md b/docs/image-preview.md index 6afc53e2..d6fd634a 100644 --- a/docs/image-preview.md +++ b/docs/image-preview.md @@ -48,9 +48,10 @@ it will automatically use the "Window system protocol" to display images - this ## tmux users {#tmux} -To enable Yazi's image preview to work correctly in tmux, add the following 3 options to your `tmux.conf`: +To enable Yazi's image preview to work correctly in tmux, add the following 4 options to your `tmux.conf`: ```sh +set -g default-terminal "tmux-256color" set -g allow-passthrough on set -ga update-environment TERM set -ga update-environment TERM_PROGRAM