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

Unnecessary line deletion #8352

Open
probablykasper opened this issue Sep 21, 2020 · 1 comment
Open

Unnecessary line deletion #8352

probablykasper opened this issue Sep 21, 2020 · 1 comment

Comments

@probablykasper
Copy link

Bug description

Whenever yarn logs to the console, it seems to log the escape sequence for deletes the line. In cases where that escape sequence doesn't work, the log looks like this:

image

Command

For the screenshot above, this is the command I ran:

yarn install --no-progress

What is the current behavior?
The "delete line" escape sequence appears whenever yarn logs to the console.

What is the expected behavior?
Only send the escape sequence when necessary.

Steps to Reproduce

  1. I'm encountering this issue when using lazydocker, so install that, plus Docker and docker-compose.
  2. Create package.json:
    {
      "private": true,
      "dependencies": {
        "express": "^4.17.0"
      }
    }
  3. Create docker-compose.yml:
      yarn-bug:
        tty: true 
        container_name: yarn-bug
        build: .
        volumes:
          - ./:/usr/src/app
  4. Create Dockerfile:
    FROM node:14.11-alpine
    WORKDIR /usr/src/app
    COPY package.json ./
    CMD ["yarn", "install"]
    
  5. Run the lazydocker command
  6. Click on the yarn-bug service
  7. Press c and click on up

Environment

  • Node Version: 14.11.0
  • Yarn v1 Version: 1.22.5
  • OS and version: macOS 10.14.6
  • Docker image: node:14.11-alpine
@probablykasper
Copy link
Author

This issue was mentioned in a comment of issue #1956.

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

No branches or pull requests

1 participant