You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use mprocs to run background taks based on a producer / consumer queue (basically run forever). Very simple and effective tool, love it!!
It's helpful to be able to quickly find if some output contains a string which indicates something, like an error or some other message. Highlighting the output and keeping track a list (bookmarks) of these matches would be super helpful.
Example: highlight the output with color C if regex R matches a line. Then keep track of the position of this line in the scrol buffer and keep a list of matches (bookmarks) for quick navigation to the match. Also clearing of the bookmarks and keeping at most X recent bookmarks might be useful. Other option would be to keep a relative time or timestamp of each bookmark. Also an option to highlight the whole line or just the match.
procs:
proc1:
shell: "./start.sh"highlights:
- regex: "^err:"bg: "red"bookmark: truehighlight: line
- regex: "^ok:"fg: greenbookmark: falsehighlight: match
The text was updated successfully, but these errors were encountered:
ddofborg
changed the title
Option to highlight (background/foreground) of the output and keep track of some specific highlights (bookmarks)
[feature] Option to highlight (background/foreground) of the output and keep track of some specific highlights (bookmarks)
Jan 8, 2024
I use
mprocs
to run background taks based on a producer / consumer queue (basically run forever). Very simple and effective tool, love it!!It's helpful to be able to quickly find if some output contains a string which indicates something, like an error or some other message. Highlighting the output and keeping track a list (bookmarks) of these matches would be super helpful.
Example: highlight the output with
color C
ifregex R
matches a line. Then keep track of the position of this line in the scrol buffer and keep a list of matches (bookmarks) for quick navigation to the match. Alsoclearing of the bookmarks
and keeping at mostX recent bookmarks
might be useful. Other option would be to keep arelative time
ortimestamp
of each bookmark. Also an option to highlight the whole line or just the match.The text was updated successfully, but these errors were encountered: