From ff9954563bee0e18ba65a160882e4386976a13a2 Mon Sep 17 00:00:00 2001 From: Jorge Morante Date: Mon, 5 Jan 2026 23:17:51 +0100 Subject: [PATCH] read default-terminal option instead of forcing tmux-256color --- tmux-fingers.tmux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmux-fingers.tmux b/tmux-fingers.tmux index f3fdeb4..c62915a 100755 --- a/tmux-fingers.tmux +++ b/tmux-fingers.tmux @@ -34,7 +34,7 @@ fi if [[ "$TERM" == "dumb" ]]; then # force term value to get proper colors in systemd and tmux 3.6a # https://github.com/Morantron/tmux-fingers/issues/143 - FINGERS_TERM="tmux-256color" + FINGERS_TERM=$(tmux show-option -gqv default-terminal) else FINGERS_TERM="$TERM" fi