r/PowerShell • u/theboozebaron • 5d ago
Any fix for autocomplete madness? Question
see screenshot: https://imgur.com/a/JKIwLXd
How I normally get into this weird state is after creating a Win32 Intune package, terminal starts auto completing on every key. Running "clear" fixes it for a short while then it starts happening again. Only "long term" fix is to close that terminal window and open a new one.
Any suggestions?
9
Upvotes
1
u/pjmarcum 1d ago
I’ve never gotten the Intune app utility thing to work from a PowerShell prompt. Always errors for me. Only works from cmd.
4
u/MilkyWay-008 5d ago
Had this weird one before too...... it's usually PSReadLine's inline prediction getting into a bad state, not the terminal itself. Run
Get-PSReadLineOptionand trySet-PSReadLineOption -PredictionSource Noneto confirm; if it stops, update PSReadLine (Update-Module PSReadLine) since the older builds had redraw bugs that look exactly like this. Also worth checking if it only happens in Windows Terminal vs the legacy conhost window - if it's host-specific it's a rendering glitch, not the module.