Skip to content

Resizing terminal window on OSX behaves weirdly #29

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

Open
boxed opened this issue Sep 30, 2014 · 3 comments
Open

Resizing terminal window on OSX behaves weirdly #29

boxed opened this issue Sep 30, 2014 · 3 comments
Labels

Comments

@boxed
Copy link

boxed commented Sep 30, 2014

Write a really long line so that line break kicks in, then take the corner of the window and wiggle it. The resizing is partially correct, but multiple errors when resizing accumulate. Lots of extra blank lines are created and other artifacts show up.

@thomasballinger
Copy link

I'm really interested in this - as far as I can tell, it's at least partially impossible in partial lines are going to be added to scrollback history when lines wrap, and this wrapping behavior can't be turned off. But it could be mitigated by predicting how a terminal emulator would wrap a line, and registering that that much history was wrapped. As long as the lines that are being wrapped aren't those at the very top of the screen, it should be possible to maintain the integrity of terminal history.

I'd like to instrument various terminal emulators to build tests to check this behavior, because it's pretty finicky. I'd love to help out if I can with this problem.

@jonathanslenders
Copy link
Member

@boxed Thanks for reporting the bug. There is at least one part of which I know the solution, I don't have anymore time today, but I can fix that tomorrow.

@thomasballinger Thanks for your offer, I'll tell you if I need help.

@santagada
Copy link

I'm having really weird resize bugs on osx (both iterm2 and Terminal.app):

  • toolbars and lines don't resize at all
  • long lines of text end up being printed many times when resizing
  • text get overwritten when the line size has changed.

Is any of that from the time of this bug or are they recent? I think I saw resize working on osx a long time ago

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

4 participants