Sample Header Ad - 728x90

Tmux: Scroll buffer not working on MSYS2/MINGW64 (Git for Windows SDK)

1 vote
0 answers
262 views
I installed the [Git for Windows SDK](https://github.com/git-for-windows/build-extra) on Windows 11 to have the pacman package installer available to install tmux. A lot of stuff works like it used to be on other platforms, but scrolling back using PREFIX+[ does not really work. I can see how the terminal enters scroll mode (yellow counter in the top right), but I can't move at all and its frozen at 0/XX. All I can do is exit scrolling with C-c. How can I fix this issue? My .tmux.conf:
# prefix
unbind C-b
set -g prefix C-t
bind C-t send-prefix

# behavior
set -g escape-time 10 # see https://github.com/tmux/tmux/issues/353#issuecomment-294570322 
set -g repeat-time 550 # allows holding down array keys for continuous strokes on MacOS

# theme
set -g default-terminal "screen-256color"
set -g status-bg color234
set -g status-fg white
set-window-option -g window-status-current-style bg=color233
bind § command-prompt -p "(set status-bg)" "set status-bg %1"

# rename
bind $ command-prompt "rename-session '%%'"
bind , command-prompt "rename-window '%%'"

# persistent cwd
bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"

# reload config
bind r source-file ~/.tmux.conf
Asked by Martin Braun (287 rep)
May 30, 2023, 03:22 AM