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

Entity delete command removes the command line from the terminal #6157

Open
Chi-teck opened this issue Nov 9, 2024 · 0 comments
Open

Entity delete command removes the command line from the terminal #6157

Chi-teck opened this issue Nov 9, 2024 · 0 comments

Comments

@Chi-teck
Copy link
Collaborator

Chi-teck commented Nov 9, 2024

Type drush entity:delete node and notice that the command itself disappear from the terminal output. That's confusing. When you scroll back the terminal output you except to find all commands your typed.

That probably comes from progress implementation. The easy fix would be adding $this->io()->newLine(); before starting the progress bar.

Interesting that drush entity:save has an opposite bug. It prints an extra line break after the command which seems redundant.

$ drush entity:save node


 ┌ Saving entities ─────────────────────────────────────────────┐
 │ ████████████████████████████████████████████████████████████ │
 └───────────────────────────────────────────────────────── 1/1 ┘

 [success] Saved node entity ids: 3
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