From 096917762a55ea89bea09b0eebc7b294a27f6510 Mon Sep 17 00:00:00 2001 From: datsudo <76833632+datsudo@users.noreply.github.com> Date: Thu, 5 Jun 2025 13:14:10 +0800 Subject: [PATCH] change TERM to xterm-256color --- user/subs/tmux.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/user/subs/tmux.nix b/user/subs/tmux.nix index a580a2a..d2c4186 100644 --- a/user/subs/tmux.nix +++ b/user/subs/tmux.nix @@ -2,9 +2,7 @@ let cfg = config.subs.tmux; -in -{ - options.subs.tmux = { +in { options.subs.tmux = { enable = lib.mkOption { default = false; type = lib.types.bool; @@ -18,7 +16,7 @@ in baseIndex = 1; mouse = true; prefix = "C-Space"; - terminal = "alacritty"; + terminal = "xterm-256color"; plugins = with pkgs.tmuxPlugins; [ { plugin = yank; @@ -49,7 +47,7 @@ in extraConfig = '' set -sg escape-time 10 set -g focus-events on - set -sa terminal-features ",alacritty:RGB" + set -sa terminal-features ",xterm-256color:RGB" set -g status-position top set -g status-left-length 50 set -g mode-keys vi