[konsole] [Bug 418344] New: Konsole feature: go to last command

Tobias Theuer bugzilla_noreply at kde.org
Sun Mar 1 00:47:14 GMT 2020


https://bugs.kde.org/show_bug.cgi?id=418344

            Bug ID: 418344
           Summary: Konsole feature: go to last command
           Product: konsole
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: history
          Assignee: konsole-devel at kde.org
          Reporter: tobias.theuer97 at googlemail.com
  Target Milestone: ---

SUMMARY
It is often helpful to scroll to the previous command.
This is especially useful when compiling code that can produce many error
messages, but only the first error message message is of interest.
Of course, there are ways to circumvent the need for this, such as piping to
less or temporarily disabling the auto scroll feature, e.g. by scrolling up one
line.
But all of these workarounds need to be applied before running the command and
it's often more convenient to decide after the command has already produced
lots of output.
In addition, depending on the way the prompt is formatted, it is often not easy
to manually scroll to the last command because it is hard to distinguish the
prompt from the program's output.

STEPS TO REPRODUCE


OBSERVED RESULT
Scrolling manually (with the mouse wheel or shift + up-arrow) is slow,
distracting, prone to missing the prompt and therefore scrolling too far up,
etc.
Searching for a part of the prompt (by pressing ctrl + shift + f) is the best
current solution I know of, but it's also far from ideal.
Remembering to make Konsole not scroll to the next prompt is difficult,
annoying and needlessly complicated.

EXPECTED RESULT
It would be cool if there was a quick and simple way to move the viewport to
the last command.
This is a feature that would in my opinion help almost all users, from
beginners to already experienced users.
Konsole could store a queue of viewport positions, where each command inserts
another entry, and positions that are no longer inside the scrollback buffer
leave the queue.
A key binding such as ctrl + shift + up arrow could then move the screen to the
previous command, and ctrl + shift + down arrow could move the screen to the
next command.
As far as I know, this feature is not currently implemented in Konsole, but
there are other terminal emulators with this feature.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.5.6 (fedora 31)
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.67.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list