-
Notifications
You must be signed in to change notification settings - Fork 8.7k
Description
Description of the new feature/enhancement
As bugs.kde.org/show_bug.cgi?id=485923
describes:
STEPS TO REPRODUCE
Invoke Konsole, and use a command like
cat
orgithub.com/MicrosoftDocs/PowerShell-Docs/blob/04dac6ae6b2abcb91006b6a515cc26c72219ffd5/reference/7.4/Microsoft.PowerShell.Management/Get-Content.md#example-2-limit-the-number-of-lines-get-content-returns
to output the content of a file to the terminal.OBSERVED RESULT
Without using
cat
's-b
or-n
flags, the content cannot be numbered. For others, like the aforecitedGet-Content
, it's impossible to output line numbers without writing code for every interaction to iterate over the lines.
Konsole has since gained the ability to display line numbers, as discuss.kde.org/t/14435#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 bugs.kde.org/show_bug.cgi?id=485970#c3
describes:
I want it to be like a Konsole/Dolphin panel, so that it can be moved to the left or right. However, I'd like it to work like a plasmoid on a PlasmaShell panel does - when a new session is invoked (like when a new tab or window is created) it should be static, and not overlay, like any other panel does. However, I should be able to set a toggle (like PlasmaShell's pin feature) and have it then able to temporarily resize over the session until I pin it again, where it returns to its original size. It should also have a horizontal scrollbar for when the user accidentally sets it shorter than they need at the start of a session.
Does that make sense?
I expected that this implementation wouldn't be possible due to wt
's apparent lack of comparable "panel" support, but #997 (comment) demonstrates otherwise.
Relevant Notes
PR that added it to Konsole | |
---|---|
PR that added documentation |