Add error info for welcome handling.

This commit is contained in:
Csonka Mihaly 2020-03-21 02:19:06 +01:00
parent 54fec8728e
commit a209dd94ca

View file

@ -4,7 +4,7 @@ use std::io::Write;
fn add_msg(tag: &str, comment: &str, snippet: &str, stdin: &mut std::process::ChildStdin) {
stdin
.write_all(display::format_line(tag, comment, snippet, 20, 60).as_bytes())
.unwrap();
.expect("Could not write to fzf's stdin");
}
pub fn cheatsheet(stdin: &mut std::process::ChildStdin) {