terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Vscode-style sticky-scrolling but with prompts

Open Mrkol opened this issue 3 years ago • 1 comments

Description of the new feature/enhancement

Original idea by @lunasorcery, approved by @DHowett https://twitter.com/DHowett/status/1619856783119626242 You know how vscode is able to "stick" the namespace/class name or function signature to the top of the screen when some part of the relevant code scope is "above" the viewport? That, but for commands that output a bunch of data, with the original prompt/command being sticky. This should increase the productivity in exactly the same manner as the feature does inside vscode: easier to browse large histories with commands outputting a bunch of stuff. It could also be convenient to make the sticky part clickable to scroll up to the beginning of the command output.

Proposed technical implementation details (optional)

Mrkol avatar Jan 30 '23 00:01 Mrkol

yes

It could also be convenient to make the sticky part clickable to scroll up to the beginning of the command output

absolutely yes

We need to figure out what we want the UX of this to look like exactly, but I love it. I'll link it up.

aside: Do we want it to have the commandline? or maybe the directory? Toggle between the two? Nah, directory seemed like something that was a good idea at 3am but I already don't think it's a great idea.

zadjii-msft avatar Jan 30 '23 12:01 zadjii-msft