1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-11 13:51:01 -05:00

Print launch command name on failure

This commit is contained in:
Christian Duerr 2019-10-15 22:53:25 +02:00 committed by GitHub
parent 49380bffd2
commit 1538f09e0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -27,6 +27,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- New CLI flag `--hold` for keeping Alacritty opened after its child process exits
- Escape sequence to save and restore window title from stack
- Alternate scroll escape sequence (`CSI ? 1007 h` / `CSI ? 1007 l`)
- Print name of launch command if Alacritty failed to execute it
### Changed

View file

@ -236,7 +236,7 @@ pub fn new<C>(config: &Config<C>, size: &SizeInfo, window_id: Option<usize>) ->
pty.fd.as_raw_fd().on_resize(size);
pty
},
Err(err) => die!("Failed to spawn command: {}", err),
Err(err) => die!("Failed to spawn command '{}': {}", shell.program, err),
}
}