Skip to main content

compose

Function compose 

Source
pub fn compose(prefill: &str) -> Result<String>
Expand description

Open $EDITOR (defaulting to vi) on a temp file containing prefill. Returns the saved contents, or an error if the user saved an empty file.