FR: IDE-style marks on scrollbar #2078

Open
opened 2026-01-30 22:46:13 +00:00 by claunia · 0 comments
Owner

Originally created by @mcpiroman on GitHub (Jun 24, 2019).

Summary of the new feature/enhancement

Introduce marks and indicators on scrollbar:

1. Command seperators / prompt positions

  • Program runs and you want to see how long the current output is. You can look at scrollbar and see where is the last command marker.
  • You run gcc --help=common that prints ~900 lines of output, and you know the interesting switch is somewhere in the middle. By viewing the command's input line position you can easily navigate to that location.
  • You are running well-known batch script and want to know current state. You can look at scrollbar to count number of commands that has already run or even notice that second command has abnormally big output.
  • Just helps with navigation over previous command.

2. Selection span

  • Not as usefull but nice looking.

3. Colors of text / lines

  • You run some build script that prints errors in red and warnings in yellow. You can leave it running and them just glance at scrollbar to see if there are any issues (and locate them).
  • You run some port scanning script (like this) that prints successful connections in green and unsuccessful in red. Much like above.
  • You run git status that prints everything in green, but then look at scrollbar and see that one, sneeky, unstaged, red line.

Example looks:

Visual Studio IDEA InteliJ
image image

Proposed technical implementation details (optional)

  • This should be controlled by per profile settings
  • When there is one line, say red, surrounded by great number of green lines, that red dot or strip should have some minimum size to ensure it's visible.
  • When only part of the line is colored it should be show the same way as if whole line was colored
  • What if there are two colors on same line?
Originally created by @mcpiroman on GitHub (Jun 24, 2019). # Summary of the new feature/enhancement Introduce marks and indicators on scrollbar: #### 1. Command seperators / prompt positions - Program runs and you want to see how long the current output is. You can look at scrollbar and see where is the last command marker. - You run `gcc --help=common` that prints ~900 lines of output, and you know the interesting switch is somewhere in the middle. By viewing the command's input line position you can easily navigate to that location. - You are running well-known batch script and want to know current state. You can look at scrollbar to count number of commands that has already run or even notice that second command has abnormally big output. - Just helps with navigation over previous command. #### 2. Selection span - Not as usefull but nice looking. #### 3. Colors of text / lines - You run some build script that prints errors in red and warnings in yellow. You can leave it running and them just glance at scrollbar to see if there are any issues (and locate them). - You run some port scanning script (like [this](https://sid-500.com/2017/11/12/test-port-use-powershell-as-a-port-scanner/)) that prints successful connections in green and unsuccessful in red. Much like above. - You run `git status` that prints everything in green, but then look at scrollbar and see that one, sneeky, unstaged, red line. Example looks: Visual Studio | IDEA InteliJ :-------------------------:|:-------------------------: ![image](https://user-images.githubusercontent.com/38111589/60014179-a9c8cc00-9680-11e9-8380-b616d84b585d.png) | ![image](https://user-images.githubusercontent.com/38111589/60014475-6cb10980-9681-11e9-8727-3908aedf8e43.png) # Proposed technical implementation details (optional) - This should be controlled by per profile settings - When there is one line, say red, surrounded by great number of green lines, that red dot or strip should have some minimum size to ensure it's visible. - When only part of the line is colored it should be show the same way as if whole line was colored - What if there are two colors on same line?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#2078