fixes for claude
This commit is contained in:
+26
-1
@@ -30,7 +30,7 @@ set-option -sa terminal-overrides ',st-256color:RGB'
|
|||||||
set -g renumber-windows on
|
set -g renumber-windows on
|
||||||
# set-window-option -g aggressive-resize on
|
# set-window-option -g aggressive-resize on
|
||||||
set-window-option -g xterm-keys on
|
set-window-option -g xterm-keys on
|
||||||
set-option -g focus-events
|
set-option -g focus-events on
|
||||||
set-option -sa terminal-overrides ',foot:RGB'
|
set-option -sa terminal-overrides ',foot:RGB'
|
||||||
|
|
||||||
# foot
|
# foot
|
||||||
@@ -183,3 +183,28 @@ set-window-option -g window-status-format "#[fg=$COL_BG_DARK,bg=$COL_BG_VERY_DAR
|
|||||||
set -g pane-active-border-style bg=default,fg=color240
|
set -g pane-active-border-style bg=default,fg=color240
|
||||||
set -g pane-border-style fg=color240
|
set -g pane-border-style fg=color240
|
||||||
|
|
||||||
|
|
||||||
|
# ---------------------------------------------------------------------------
|
||||||
|
# Claude Code / modern TUI support
|
||||||
|
# ---------------------------------------------------------------------------
|
||||||
|
# CSI-u extended keys: lets Shift+Enter, Ctrl+Enter, Alt+Enter reach the app
|
||||||
|
# (Claude Code uses these for multiline input) instead of collapsing to CR.
|
||||||
|
set -s extended-keys on
|
||||||
|
set -as terminal-features 'xterm*:extkeys'
|
||||||
|
set -as terminal-features 'foot*:extkeys'
|
||||||
|
set -as terminal-features 'tmux-256color:extkeys'
|
||||||
|
|
||||||
|
# Let inner apps talk directly to the outer terminal: inline image protocols
|
||||||
|
# (Kitty/iTerm graphics), OSC 8 hyperlinks, OSC 777 notifications.
|
||||||
|
set -g allow-passthrough on
|
||||||
|
|
||||||
|
# OSC 52: allow tmux itself to push copies to the system clipboard, not only
|
||||||
|
# forward sequences the app emits.
|
||||||
|
set -s set-clipboard on
|
||||||
|
|
||||||
|
# Hyperlink + notification passthrough for the terminals in use here.
|
||||||
|
set -as terminal-features 'foot*:hyperlinks'
|
||||||
|
set -as terminal-features 'xterm*:hyperlinks'
|
||||||
|
|
||||||
|
# Bigger scrollback for long agent sessions.
|
||||||
|
set -g history-limit 200000
|
||||||
|
|||||||
Reference in New Issue
Block a user