Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/tmux.bats
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,7 @@ setup() {
@test "tmux.conf pipes mouse-drag-end selection to system clipboard" {
grep -qE "^bind -T copy-mode-vi MouseDragEnd1Pane .*copy-pipe-and-cancel .*xclip" "$CONFIG_FILE"
}

@test "tmux.conf enables truecolor passthrough for ghostty" {
grep -qE 'xterm-ghostty:Tc' "$CONFIG_FILE"
}
4 changes: 2 additions & 2 deletions tmux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ set -g history-limit 50000
set -sg escape-time 10
set -g focus-events on

# True color (works in alacritty/kitty/wezterm/gnome-terminal)
# True color (works in alacritty/kitty/wezterm/gnome-terminal/ghostty)
set -g default-terminal "tmux-256color"
set -ga terminal-overrides ",*256col*:Tc"
set -ga terminal-overrides ",*256col*:Tc,xterm-ghostty:Tc"

# Copy mode: vi keys (matches nvim/vim)
setw -g mode-keys vi
Expand Down
Loading