Option to disable type-ahead #19179

Closed
opened 2026-01-31 06:36:00 +00:00 by claunia · 2 comments
Owner

Originally created by @Benjin on GitHub (Jan 5, 2023).

It's confusing when tab-completion does something different from what type-ahead is proposing. As such, I propose an option to disable type-ahead on a per-shell basis.

I recognize that tab-completion is handled by the shell while type-ahead is provided by the terminal and thus the difference, but think that this can lead to frustration and unintended command execution.

Originally created by @Benjin on GitHub (Jan 5, 2023). It's confusing when tab-completion does something different from what type-ahead is proposing. As such, I propose an option to disable type-ahead on a per-shell basis. I recognize that tab-completion is handled by the shell while type-ahead is provided by the terminal and thus the difference, but think that this can lead to frustration and unintended command execution.
claunia added the Issue-QuestionNeeds-TriageNeeds-Tag-FixResolution-Answered labels 2026-01-31 06:36:01 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Jan 5, 2023):

The Terminal doesn't provide any sort of type-ahead on its own. If you're seeing anything like that, it's something that's already being provided by your shell 😉 I know PowerShell 7 (via PsReadline) has something like this, and maybe zsh & fish too, but I don't think bash does, and I know that cmd.exe doesn't.

@zadjii-msft commented on GitHub (Jan 5, 2023): The Terminal doesn't provide any sort of type-ahead on its own. If you're seeing anything like that, it's something that's already being provided by your shell 😉 I know PowerShell 7 (via PsReadline) has something like this, and maybe zsh & fish too, but I don't think bash does, and I _know_ that cmd.exe doesn't.
Author
Owner

@Benjin commented on GitHub (Jan 6, 2023):

Ayy, that's exactly it. F2 to change modes, I was barking up the wrong tree. Seems utterly silly that PS would have conflicting behaviors like that. Thanks!

@Benjin commented on GitHub (Jan 6, 2023): Ayy, that's exactly it. `F2` to change modes, I was barking up the wrong tree. Seems utterly silly that PS would have conflicting behaviors like that. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19179