Resizing when is a text-based loading bar, cause duplicated text.

Open
#2,730 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
bash, macos, rust
Domain
cli

Research direction

Reproduce the issue by running brew install or npm install while resizing the terminal, as described in the report. Trace the text-based loading-bar rendering and terminal-resize handling; done means the loading bar continues without duplicated text during resizing.

Written by the indexing model from the issue text.

Description

bug ready-to-implement triaged
Discord username (optional)

No response

Describe the bug

When running a brew install or an npm install the terminal shows text-based a loading bar, if you resize the window, that loading bar starts duplicating.

To Reproduce

-1 install or do a script that makes a loading state like the following:
image
-2 Start resizing the terminal

Expected behaviour

Should continue the loading without duplicating it.

Screenshots
image
Operating System

MacOS

OS Version

12.1

Shell Version

bash 3.2.57

Warp Version

v0.2023.02.21.08.03.stable_01

Additional context

https://www.loom.com/share/e4827375378647f1b53b218d865e4f31

Does this block you from using Warp daily?

No

Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e

None

Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from warpdotdev/warp

All issues in warpdotdev/warp

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.