Bug 439788

Summary: Scroll back to the previous shell command invocation
Product: [Applications] konsole Reporter: Alexander Potashev <aspotashev>
Component: historyAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: kde.podagric, ninjalj
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: v22.08.0
Sentry Crash Report:

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