Zet - How do I get tmux to truncate the pane title in the bottom bar?

How do I get tmux to truncate the pane title in the bottom bar?

Use set window-status-format.

Example truncating to 20 chars

set -g window-status-format         " #I #{=/20/…:window_name} "
set -g window-status-current-format " #I #{=/20/…:window_name} "

#tmux