pub fn write_command_finished<W: Write>(
w: &mut W,
exit_code: Option<i32>,
) -> Result<()>Expand description
Mark command completion with ESC ] 133 ; D [;exit-code] BEL.
When exit_code is None, the exit-code field is omitted; otherwise the decimal code is appended after a semicolon.