From ceaec5fdf502deafcefb9d7fb815c6de08cc0424 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 28 Aug 2026 10:00:57 +0000 Subject: [PATCH 1/2] feat(zellij,ssh): improve zellij config and fix TERM over SSH - Set default_mode to tmux so bindings are active immediately - Set on_force_close to detach to match tmux behavior - Disable copy_on_select to avoid clipboard clobber on selection - Increase scrollback_lines to 50000 - Add SetEnv TERM=xterm-256color in ~/.ssh/config to prevent unknown terminal errors on remote hosts that lack xterm-ghostty terminfo Co-authored-by: bdossantos <245284+bdossantos@users.noreply.github.com> --- .config/zellij/config.kdl | 4 ++++ .ssh/config | 1 + 2 files changed, 5 insertions(+) diff --git a/.config/zellij/config.kdl b/.config/zellij/config.kdl index fda9397..1e10c6c 100644 --- a/.config/zellij/config.kdl +++ b/.config/zellij/config.kdl @@ -60,5 +60,9 @@ keybinds { } pane_frames false +default_mode "tmux" +on_force_close "detach" +copy_on_select false +scrollback_lines 50000 theme "dracula" mouse_mode true diff --git a/.ssh/config b/.ssh/config index 30e1e3b..c78c051 100644 --- a/.ssh/config +++ b/.ssh/config @@ -2,3 +2,4 @@ Host * PasswordAuthentication no ChallengeResponseAuthentication no HashKnownHosts yes + SetEnv TERM=xterm-256color From c24a0c86a86924bf9215ac8653fbb5ebc99addb7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 28 Aug 2026 10:06:27 +0000 Subject: [PATCH 2/2] fix(zellij): use normal default mode and correct scroll option Co-authored-by: bdossantos <245284+bdossantos@users.noreply.github.com> --- .config/zellij/config.kdl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/zellij/config.kdl b/.config/zellij/config.kdl index 1e10c6c..396e84c 100644 --- a/.config/zellij/config.kdl +++ b/.config/zellij/config.kdl @@ -60,9 +60,9 @@ keybinds { } pane_frames false -default_mode "tmux" +default_mode "normal" on_force_close "detach" copy_on_select false -scrollback_lines 50000 +scroll_buffer_size 50000 theme "dracula" mouse_mode true