change TERM to xterm-256color

This commit is contained in:
datsudo 2025-06-05 13:14:10 +08:00
parent 96d27327da
commit 096917762a

View File

@ -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