私は tmux を使用しています (exceed over ssh で Linux に接続しています) set -g terminal-overrides 'xterm*:smcup@:rmcup@'
。
問題はありますが、何らかの理由で中央のボタンで上にスクロールすると、カーソルがすぐにページに戻ります (q を入力した場合など)。リフレッシュなのか、それとも…
.tmux.conf
いずれにせよファイルを追加します
# change prefix key to C-a like screen and also C-a-a to send it into
# a session within a session
unbind C-b
set -g prefix C-a
bind-key a send-prefix
# toggle last like screen
bind-key C-a last-window
bind-key C-c new-window
# a readable status line
set -g status-bg blue
set -g status-right "%Y-%m-%d %H:%M:%S"
set -g status-interval 1
# misc tweaks
#set -g display-time 3000
set -g history-limit 5000
#set -g bell-action any
#set -g visual-activity on
#set -g visual-bell on
# Sane scrolling
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
# Bellow allow scrolling with mouse (enter normal browsing mode automatically)
#set -g mode-mouse on