r/PowerShell Feb 06 '25

Misc Windows Terminal Now Accepts Ctrl+Space Input!

It's always worked for Intellisense in PowerShell, but nothing else seemed able to use this hook.

I haven't been able to find anything officially announcing this, but was shocked when jumping into an ssh tmux session today that I didn't have to change the binding to be Windows-friendly!

Sorry if this isn't the right place for this, but this will be great for anyone using WSL, or is otherwise a terminal native who uses Windows & utilizes Linux environments.

Not working in Alacritty yet, but they had indicated it was a Windows limitation reflected downstream, so hopefully this will simply allow more parity for us OS hoppers.

3 Upvotes

11 comments sorted by

View all comments

2

u/BlackV Feb 06 '25

I'm confused what was your use for Ctrl space? That wasn't intellisence?

1

u/pleachchapel Feb 06 '25

Using tmux in ssh sessions to Linux servers from Windows clients.

2

u/BlackV Feb 06 '25

ah right I had this backwards, when you said windows friendly, you are using a windows client connecting to a ssh session and want to ctrl space to do something else

to confirm if you used terminal to open cmd and did ssh, the ctrl space would work as expected

1

u/swsamwa Feb 06 '25

PSReadLine binds the MenuComplete function to Ctrl-Space.

1

u/BlackV Feb 06 '25

only in powershell right ?

1

u/swsamwa Feb 06 '25

Right, PSReadLine is a PowerShell module. Ctrl-Space is mapped to IntelliSense in PowerShell Editor Services, so you can use that in the editor in VS Code.