Bug 439788 - Scroll back to the previous shell command invocation
Summary: Scroll back to the previous shell command invocation
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: history (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-12 20:13 UTC by Alexander Potashev
Modified: 2022-12-06 23:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: v22.08.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2021-07-12 20:13:01 UTC
SUMMARY
Please implement this feature: Scroll back to the previous shell command invocation. I'm not the first person to want it - see also https://stackoverflow.com/questions/17212643/how-to-scroll-back-the-terminal-to-where-the-last-command-was-given.

CUJ:
 1. Run a command that prints out something useful, and then a lot of detailed debugging information (thousands of lines).
 2. After the program has terminated, you want to scroll back to review the output of the command from its start.
 3a: Without this feature: Either Shift+PgUp repeatedly, or use scrollbar (hard to position precisely), or search for a substring of the command you know you typed in.
 3b: With this feature: Press one keyboard shortcut (or click a menu item.)

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 ninjalj 2022-12-06 23:57:46 UTC
Konsole v22.08 added semantic shell integration, which, among other things, allows this.

See:

https://docs.kde.org/trunk5/en/konsole/konsole/semantic-shell-integration.html