fix: TERM and TERMINFO

This commit is contained in:
Ryan Yin
2023-12-07 21:37:06 +08:00
parent 0e2faec44f
commit dfab5ddacc
3 changed files with 45 additions and 3 deletions

View File

@@ -17,12 +17,17 @@ in {
# tmux-sensible overwrites default tmux shortcuts, makes them more sane.
sensibleOnTop = true;
# extraConfig = builtins.readFile ./tmux.conf;
# https://github.com/sxyazi/yazi/wiki/Image-preview-within-tmux
extraConfig = builtins.readFile ''
set -g allow-passthrough on
set -ga update-environment TERM
set -ga update-environment TERM_PROGRAM
'';
# keyMode = "vi"; # default is emacs
baseIndex = 1; # start index from 1
escapeTime = 0; # do not wait for escape key
terminal = "xterm-256color";
plugins = with plugins; [
draculaTheme # theme