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

broken tmux layout #7704

Closed
krgrwrg opened this issue Dec 28, 2022 · 14 comments
Closed

broken tmux layout #7704

krgrwrg opened this issue Dec 28, 2022 · 14 comments
Labels

Comments

@krgrwrg
Copy link

krgrwrg commented Dec 28, 2022

Describe the problem:
Special characters on tmux make my layout broken.
I can't replicate this problem on putty or 'Termius', also in 'Konsole' and 'gnome-terminal' probelem not appears.
Same problem on different versions of tmux and Debian.

Tmux versions with problems:

  • tmux 2.8 ( Debian 10.4 )
  • tmux 2.3 ( Debian 8.11 )

Screenshot ( with censored tmux content )

To Reproduce:
I using tabby instead of putty on my windows corporate laptop for connect to linux host from home.

  1. opening new terminal window with ssh connection to my workstation
  2. then attaching to existing tmux session 'tmux a -t my_session'
  3. special characters sometimes apeears and make my layout broken.
  4. detaching from tmux session and re-attaching don't solve problem
  5. then i close tabby tab and open same session again
  6. 'tmux a -t my_session' - problem disappears
@krgrwrg krgrwrg added the T: Bug label Dec 28, 2022
@enodr
Copy link

enodr commented Dec 28, 2022

Hi, I just came here to open a similar issue with GNU screen. The layout is broken as you can see on this screenshot. The screen names should be on the last line of the terminal instead of beeing shifted up. The cursor is also wrongly placed.

image

@luxifr
Copy link
Sponsor

luxifr commented Dec 30, 2022

I also have similar issues using screen.

This is what mc looks like
image

As compared to what it should look like
image

Also, sometimes I get weird "question mark" characters like this in the output:
image

When it's supposed to look like this:
image

@krgrwrg
Copy link
Author

krgrwrg commented Jan 2, 2023

@luxifr - yes this is definitly same issue.

@luxifr
Copy link
Sponsor

luxifr commented Jan 3, 2023

here's another bread crumb: this error message pops up in the dev console when I run duf or open mc in screen
image

it does not appear when running these outside of screen

edit: I guess this was a red herring... after the next restart of tabby that error cannot be reproduced but the faulty behavior persists

@luxifr
Copy link
Sponsor

luxifr commented Jan 3, 2023

apparently those question mark characters are

U+FFFD ef bf bd REPLACEMENT CHARACTER

might be related to #6057

I also tried some tabby releases all the way back to version 143 to see if this might be some new regression but this issue has existed even in 143.

@luxifr
Copy link
Sponsor

luxifr commented Jan 3, 2023

@Eugeny if there's anything I can do to provide more info and to help solve this, please let me know... other than this issue I really love Tabby - it's heaps better than any of the other alternatives on Windows and I use it daily for work and personal stuff but this issue is really crippling... not for the cosmetic issues like in the duf output, but something like mc becomes completely unusable in screen (and tmux, too, apparently)

@dage233
Copy link

dage233 commented Jan 4, 2023

same issue.
fix it plz.

@Eugeny
Copy link
Owner

Eugeny commented Jan 4, 2023

Can you guys give this build a try? https://github.com/Eugeny/tabby/actions/runs/3838372546

GitHub
A terminal for a more modern age. Contribute to Eugeny/tabby development by creating an account on GitHub.

@enodr
Copy link

enodr commented Jan 4, 2023

Looks good for me so far with gnu screen. Will test more tonight. Well done!

@luxifr
Copy link
Sponsor

luxifr commented Jan 4, 2023

Can you guys give this build a try? https://github.com/Eugeny/tabby/actions/runs/3838372546

GitHub**fixed exports · Eugeny/tabby@33d6d41**A terminal for a more modern age. Contribute to Eugeny/tabby development by creating an account on GitHub.

looking good!!! thanks man, you're awesome!

GitHub
A terminal for a more modern age. Contribute to Eugeny/tabby development by creating an account on GitHub.

@luxifr
Copy link
Sponsor

luxifr commented Jan 4, 2023

@Eugeny you have a new sponsor!

@Eugeny
Copy link
Owner

Eugeny commented Jan 4, 2023

Thank you!

@Eugeny Eugeny closed this as completed Jan 4, 2023
@enodr
Copy link

enodr commented Jan 14, 2023

Hi, after extensive testing unfortunately problem is not fully solved. The isssue does not appear immediatly after opening a new tabby shell, but only after some time.

Two problems:

  • displaying a file with very long lines, you can see a column break near the end of the screen

image

image

  • bottom line (prompt) is shifted up:

image

image

@SuperPauly
Copy link

I'm still getting this issue. if Tabby is left in a window with no activity the Tmux bar from the bottom just appends on top of it's self until it fills the screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants