Closed
Description
Quoting @lunasorcery:
This would bring VSCode's existing sticky scroll support to terminals for easier viewing and editing of commands with long outputs.
Suggested implementation
Use shell integration to track commands and render the currently scrolled output's command at the top of the editor in a sticky scroll if it doesn't fit on the screen.
Potential problems
If a command's output is larger than the terminal's buffer, its command may no longer exist. We may need to cache the last command if it's not already accessible by the shell integration.