Open RokeJulianLockhart opened 4 months ago
Why is less -N
(or similar) insufficient for this/?
https://github.com/microsoft/terminal/issues/17490#issuecomment-2234379836
@zadjii-msft, because that's solely usable when piping command output. It doesn't operate retroactively. Additionally, if I run Get-ChildItem -LiteralPath "$HOME"
, I see coloured highlights for certain directories, whereas if I invoke Get-ChildItem -LiteralPath "$HOME" | less -N
on Fedora 40, I don't (so it breaks command output).
Description of the new feature/enhancement
As https://bugs.kde.org/show_bug.cgi?id=485923#c0 describes:
Konsole has since gained the ability to display line numbers, as https://discuss.kde.org/t/how-to-enable-line-numbers-in-konsole/14435?u=rokejulianlockhart#always-3 depicts:
It's been invaluable for me, when reading long logs via the terminal. Consequently, I propose the same for Windows Terminal.
Proposed technical implementation details (optional)
I'd rather that they be in a permanent separator following the text direction, or on the opposite of the text direction, still separated regardless (to prevent overlap). Specifically, as https://bugs.kde.org/show_bug.cgi?id=485970#c3 describes:
I expected that this implementation wouldn't be possible due to
wt
's apparent lack of comparable "panel" support, but https://github.com/microsoft/terminal/issues/997#issue-448313575 demonstrates otherwise.relevant notes: