Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Sympathetic scrolling in adjacent tmux panes #2576

Closed
ax0 opened this issue Feb 7, 2022 · 3 comments · May be fixed by #3005
Closed

[Bug]: Sympathetic scrolling in adjacent tmux panes #2576

ax0 opened this issue Feb 7, 2022 · 3 comments · May be fixed by #3005

Comments

@ax0
Copy link

ax0 commented Feb 7, 2022

Problem description

Scrolling up through a program such as man in tmux leads to sympathetic scrolling in horizontally neighbouring panes. I cannot reproduce the issue over SSH or in terminal emulators running on Xvnc, so I assume the issue lies in Termux's terminal emulator.

Steps to reproduce the behavior.

Assuming tmux and man are installed and tmux has its default key bindings:

  1. Start tmux.
  2. Populate the pane with text, e.g. ls $PREFIX/bin.
  3. Split the screen horizontally, i.e. CTRL-b %.
  4. Run man tmux.
  5. Scroll down by pressing DOWN a few times.
  6. Scroll up by pressing UP a few times and observe that both panes scroll up simultaneously.

What is the expected behavior?

There should be no sympathetic scrolling.

System information

  • Termux application version: 0.118.0
  • Android OS version: 10, 11
  • Device model: Huawei MatePad 11, Samsung Galaxy Note 3
@ax0 ax0 added the bug report label Feb 7, 2022
@pierreyves-lebrun
Copy link

pierreyves-lebrun commented Feb 11, 2022

Was able to replicate this issue on macOS 12.2

@MrAdityaAlok
Copy link
Member

According to @pierreyves-lebrun comment, it seems to be an upstream problem. Hence, closing.

evg-zhabotinsky added a commit to evg-zhabotinsky/termux-app that referenced this issue Sep 25, 2022
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
KitsunedFox pushed a commit to KitsunedFox/termux-monet that referenced this issue Sep 25, 2022
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
KitsunedFox pushed a commit to KitsunedFox/termux-monet that referenced this issue Sep 25, 2022
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
evg-zhabotinsky added a commit to evg-zhabotinsky/termux-app that referenced this issue Sep 25, 2022
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
RI sequence (`${ESC}M`, move cursor up 1 line) was doing the same.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
@evg-zhabotinsky
Copy link

The above PR definitely fixes the problem for me, and this is how de-facto standard xterm behaves. (And apparently how VT510 behaved too.)
So, if Mac terminal really doesn't handle it this way, IMO it is broken.

KitsunedFox pushed a commit to KitsunedFox/termux-monet that referenced this issue Sep 25, 2022
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
RI sequence (`${ESC}M`, move cursor up 1 line) was doing the same.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
KitsunedFox pushed a commit to KitsunedFox/termux-monet that referenced this issue Sep 25, 2022
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
RI sequence (`${ESC}M`, move cursor up 1 line) was doing the same.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
MrAdityaAlok pushed a commit to MrAdityaAlok/termux-app that referenced this issue Oct 22, 2022
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
RI sequence (`${ESC}M`, move cursor up 1 line) was doing the same.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
MrAdityaAlok pushed a commit to MrAdityaAlok/termux-app that referenced this issue Oct 23, 2022
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
RI sequence (`${ESC}M`, move cursor up 1 line) was doing the same.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
KitsunedFox pushed a commit to KitsunedFox/termux-monet that referenced this issue Dec 30, 2022
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
RI sequence (`${ESC}M`, move cursor up 1 line) was doing the same.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
KitsunedFox pushed a commit to KitsunedFox/termux-monet that referenced this issue Dec 30, 2022
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
RI sequence (`${ESC}M`, move cursor up 1 line) was doing the same.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
zongou pushed a commit to zongou/termux-app that referenced this issue Apr 4, 2024
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
RI sequence (`${ESC}M`, move cursor up 1 line) was doing the same.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
zongou pushed a commit to zongou/termux-app that referenced this issue Apr 7, 2024
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
RI sequence (`${ESC}M`, move cursor up 1 line) was doing the same.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
zongou pushed a commit to zongou/termux-app that referenced this issue Apr 7, 2024
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
RI sequence (`${ESC}M`, move cursor up 1 line) was doing the same.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
zongou pushed a commit to zongou/termux-app that referenced this issue Apr 12, 2024
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
RI sequence (`${ESC}M`, move cursor up 1 line) was doing the same.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
zongou pushed a commit to zongou/termux-app that referenced this issue Apr 12, 2024
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
RI sequence (`${ESC}M`, move cursor up 1 line) was doing the same.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
zongou pushed a commit to zongou/termux-app that referenced this issue Apr 14, 2024
SD sequence (`${CSI}${N}T`) was scrolling the whole width
 of the terminal instead of just between the margins.
RI sequence (`${ESC}M`, move cursor up 1 line) was doing the same.
Fixed that.

Fixes termux#2576 where in tmux scrolling one of several
 side-by-side panels down resulted in all visually scrolling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants