Opened 14 months ago

Last modified 14 months ago

#18613 new enhancement

Terminal: Add a "Jump to previous prompt" menu item

Reported by: humdinger Owned by: jackburton
Priority: normal Milestone: Unscheduled
Component: Applications/Terminal Version: R1/beta4
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I sometimes find myself wanting to study the output of the last command from its start. When it's a rather lengthy output, you don't use the mouse-wheel to scroll up a mile, but use the scroll bar instead, easily overshooting your target.

Would it be possible to add an item "Jump to previous prompt" (ALT+J) to the "Edit" menu that scrolls up to the prompt of the last command?

I never actually needed a "Jump to next prompt" to go the other way after scrolling up. So, not needed?

Change History (1)

comment:1 by pulkomandy, 14 months ago

Interesting idea. I don't know if it's possible to detect the prompt in a reliable way, but we could detect user input, so you could jump to the last place where you typed something, which would be close enough.

This could also be made visible by markers on the scrollbar.

I just got used to using CMD+L to clear everything before I start a long command, but then I am annoyed that I don't have the previous history anymore.

Note: See TracTickets for help on using tickets.