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

[Usability] Pulumi CLI flickering #7823

Open
karolzlot opened this issue Aug 23, 2021 · 5 comments
Open

[Usability] Pulumi CLI flickering #7823

karolzlot opened this issue Aug 23, 2021 · 5 comments
Labels
area/cli UX of using the CLI (args, output, logs) impact/usability Something that impacts users' ability to use the product easily and intuitively kind/bug Some behavior is incorrect or out of spec os/windows

Comments

@karolzlot
Copy link

karolzlot commented Aug 23, 2021

Affected feature

When you use for example pulumi new console really flickers.

Please improve it so it doesn't flicker.

Seems like when I use pulumi up, then yes, no, details menu also flickers a bit.

On video you can see Windows Terminal with Powershell 7.1.4

(no sound in the video below)

5HmRmqP3ty.mp4
@karolzlot karolzlot added the kind/enhancement Improvements or new features label Aug 23, 2021
@emiliza emiliza added area/cli UX of using the CLI (args, output, logs) impact/usability Something that impacts users' ability to use the product easily and intuitively kind/bug Some behavior is incorrect or out of spec and removed kind/enhancement Improvements or new features labels Aug 24, 2021
@mikhailshilkov
Copy link
Member

@AaronFriel can you see this on your Windows terminal?

@AaronFriel
Copy link
Member

AaronFriel commented Feb 1, 2022

@mikhailshilkov confirmed, it appears that the behavior of the prompt when "redrawing" the list is to clear output and rewrite it from the beginning. This causes the prompt to go back to the first line:

Please choose a template:  [Use arrows to move, enter to select, type to filter]

And then as text is written, the terminal scrolls.

@AaronFriel
Copy link
Member

Only noticeable on the Windows builds though, in Powershell & legacy Command Prompt. I reproduced it independently here, you can just barely - for a frame - see it scroll to the "Please choose" line.

Command.Prompt.-.pulumi.new.2022-02-01.00-31-57.mp4

@AaronFriel
Copy link
Member

I was screen sharing with a user of Pulumi and saw this on macOS using the built-in terminal and it appeared much worse than I've seen before. That could be an artifact of Zoom latency, but the sharer said it made it very hard to read as they scrolled through templates.

@justinvp
Copy link
Member

justinvp commented Apr 5, 2024

I was wondering if we should do something like this: jestjs/jest#15008

Looks like there is an upstream issue, and there's a comment mentioning DEC private mode 2026: AlecAivazis/survey#436

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli UX of using the CLI (args, output, logs) impact/usability Something that impacts users' ability to use the product easily and intuitively kind/bug Some behavior is incorrect or out of spec os/windows
Projects
None yet
Development

No branches or pull requests

6 participants