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

Ignore Readline screen size detection when no TTY is present #16

Closed
wants to merge 6 commits into from

Conversation

balakine
Copy link

@balakine balakine commented Nov 17, 2022

Describe the change

Ignore Readline screen size detection when no TTY is present.

Why are we doing this?

To fix issue #15. It's causes failures when running fastlane on Windows, see this fix.

Benefits

Method size will return sane defaults instead of [1,1] when called without TTY on Windows.

Drawbacks

Risk of breaking functionality for users that rely on existing behavior.

Requirements

  • Tests written & passing locally?
  • Code style checked?
  • Rebased with master branch?
  • Documentation updated?
  • Changelog updated?

@piotrmurach
Copy link
Owner

Thank you for this PR!

I decided to approach this slightly differently and added a few tests to cover all the edge cases in e342f8f

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

Successfully merging this pull request may close these issues.

2 participants