Open A Text Editor From A Rust App
I use the [TODO: Code shorthand span ] crate to open text editors from inside Rust apps.
- This uses the $VISUAL and $EDITOR env vars to figure out what editor to use
- If neither $VISUAL or $EDITOR are set it falls back to other available editors
[] write up a code example
Footnotes And References
- •