tmux: mouse support (#3642)

Co-authored-by: Sleroq <sleroq@sleroq.link>
This commit is contained in:
Sleroq 2023-02-05 16:02:14 +06:00 committed by GitHub
parent e2c1756e3a
commit 2ffc6d6496
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 65 additions and 0 deletions

View file

@ -94,6 +94,7 @@ let
bind-key -N "Kill the current pane" x kill-pane
''}
set -g mouse ${boolToStr cfg.mouse}
setw -g aggressive-resize ${boolToStr cfg.aggressiveResize}
setw -g clock-mode-style ${if cfg.clock24 then "24" else "12"}
set -s escape-time ${toString cfg.escapeTime}
@ -204,6 +205,8 @@ in {
description = "VI or Emacs style shortcuts.";
};
mouse = mkEnableOption "mouse support";
newSession = mkOption {
default = false;
type = types.bool;