Skip to content

Commit

Permalink
docs: add default-terminal option to tmux configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
sxyazi committed Jan 20, 2025
1 parent c9fb815 commit ae6d5fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/image-preview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae6d5fc

Please sign in to comment.