You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be due to a terminal resize, as I've noticed that resizing the terminal during a brew upgrade will cause brew to continue on the old row location, which is now in-between data. Perhaps we need our TTY helpers to note the terminal row and height before setting up an alt tty, and when restoring, check if the height has changed if so move the cursor to the new height after restoring the old TTY.
In what appears a refactoring regression within #254 and merged by c4d1e1f
As the ask output is not cleared, the cursor still moves, cursor becomes in-between data, and the ask prompt and result gets doubled. Hugely undesirable, and it is unfortunate that it has been an unreported bug since its merge on October 28th, 2024.
I was able to detect this is what is happening by spotting it occur when I was running setup-node on a new machine and noticed how the questions to fill in my npm profile data where behaving in a less desirable manner.
I will need to go through the commits of that PR and find out exactly how those lines ended up occurring. It looks as if they were probably two if statements then merged into a single one.
If anyone experiences something less than optimal or intuitive during any dorothy experience, please post a report and I will fix it ASAP.
balupton
changed the title
Bug: After specifying I want to use a GitHub Repo, the ask prompt is in-between data
Bug: ask prompt is not clearing correctly, causing ask prompt and answer to duplicate and cursor to move in-between data
Jan 25, 2025
The text was updated successfully, but these errors were encountered: