Skip to content

Conversation

@mpurnell1
Copy link

Description

When running op replay --demo in VS Code (or any terminal with a custom size), the terminal height can be too small to display all the available commands. This was not being detected, leading to a bad experience for terminals smaller than 23 rows. The help is now only conditionally added, along with a suggestion to enlarge the terminal, if there is room.

Verification

op replay --demo on screen height < 23 before:
image

op replay --demo on screen height < 17 before:
image

op replay --demo on screen height < 23 after:
image

op replay --demo on screen height < 17 after:
image

@github-actions github-actions bot added the tools label Dec 4, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing to openpilot! In order for us to review your PR as quickly as possible, check the following:

  • Convert your PR to a draft unless it's ready to review
  • Read the contributing docs
  • Before marking as "ready for review", ensure:
    • the goal is clearly stated in the description
    • all the tests are passing
    • the change is something we merge
    • include a route or your device' dongle ID if relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant