Add an option to set history list width #4710
Labels
Issue-Enhancement
It's a feature request.
Needs-Triage 🔍
It's a new issue that core contributor team needs to triage.
Prerequisites
Description of the new feature/enhancement
Hi, thanks for an excellent addition to Powershell! :)
Intro
I keep WindowsTerminal window full screen all the time. PSReadLine cuts history list at 88 chars. This leaves a lot of free space on screen (see image) and commands are cut-off, often at the places where most important arguments are.
Idea
Introduce an option to set history list width to desired number of characters or, even better, to console width.
Thank you! :)
Image
Proposed technical implementation details (optional)
Set-PSReadLineOption -LineWidth 200
Set-PSReadLineOption -LineWidth $Host.UI.RawUI.WindowSize.Width
Set-PSReadLineOption -LineWidth Maximum
The text was updated successfully, but these errors were encountered: