[Code Snippet] Preview window with updating plot #3686
LangLangBart
started this conversation in
General
Replies: 2 comments
-
Beautiful, thanks for sharing! |
Beta Was this translation helpful? Give feedback.
0 replies
-
wow! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to share these code snippets demonstrating the use of asciigraph and diagram to
draw real-time plot in the
fzf
preview-window.These demos use the
ps
command to monitor the CPU usage of thefzf
build process.The graph updates every 0.5 seconds until the process ends. When a process ends, the list updates
using the
--listen
1 flag and theFZF_PORT
2 environment variable.asciigraph - https://github.com/guptarohit/asciigraph
diagram - https://github.com/tehmaze/diagram
Footnotes
0.36.0 CHANGELOG.md ↩
0.39.0 CHANGELOG.md ↩
Beta Was this translation helpful? Give feedback.
All reactions