Skip to content

fix(shell): Take a bigger margin for terminal size#2811

Open
erebe wants to merge 1 commit into
stagingfrom
erebe/shell
Open

fix(shell): Take a bigger margin for terminal size#2811
erebe wants to merge 1 commit into
stagingfrom
erebe/shell

Conversation

@erebe

@erebe erebe commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Summary

When openning the shell websocket, the frontend compute the width and height of the terminal to forward it to the backend.
Today, the width and height are too big causing line wrapping

  • Use the shell container size instead of the global one
  • increase the cell height to avoid line wrapping

Before
image

After
image

* Use the shell container size instead of the global one
* increase the cell height to avoid line wrapping
@codecov

codecov Bot commented Jul 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.28571% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.21%. Comparing base (87e33c3) to head (9aed8ec).

Files with missing lines Patch % Lines
...use-terminal-dimensions/use-terminal-dimensions.ts 88.46% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           staging    #2811      +/-   ##
===========================================
- Coverage    47.60%   47.21%   -0.39%     
===========================================
  Files          783     1176     +393     
  Lines        19626    25439    +5813     
  Branches      5954     7544    +1590     
===========================================
+ Hits          9342    12010    +2668     
- Misses        8635    11390    +2755     
- Partials      1649     2039     +390     
Flag Coverage Δ
unittests 47.21% <89.28%> (-0.39%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

1 participant