Stopping countdown from scrolling down content of PS window #15962
Labels
Issue-Feature
Complex enough to require an in depth planning process and actual budgeted, scheduled work.
Issue-Question
For questions or discussion
Needs-Attention
The core contributors need to come back around and look at this ASAP.
Needs-Tag-Fix
Doesn't match tag requirements
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Resolution-Answered
Related to questions that have been answered
I have read these two to discussions
#6062
#15059
but as I am not a programmer, just a small time script tweaker, can anyone summarize / explain to me these two discussion in more layman terms?
I have this OK working test code
which stops the PowerShell window at countdown - and after it ends it then proceeds with execution of the rest of the script
But the problem with it that I have is that every appearing digit makes the PS window scroll down its content to the very bottom - thus I can only see what is above this active counter for less than second afterl scrolling up. I can constantly scroll manually but it always goes back to the bottom to show a new digit. I could of course replace that with a silent countdown like this
but at a cost of not being informed then about how much time has left
So is there a way to eat a cake and have it - i.e. to see a digits of countdown at the bottom of window but also at any time to be able to scroll up not have the view thrown back down every second?
The text was updated successfully, but these errors were encountered: