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

Add version to info log

This commit is contained in:
Christian Duerr 2022-02-09 21:41:54 +01:00 committed by GitHub
parent 8afeb2c602
commit d1608dd03e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -136,6 +136,7 @@ fn alacritty(options: Options) -> Result<(), String> {
.expect("Unable to initialize logger");
info!("Welcome to Alacritty");
info!("Version {}", env!("VERSION"));
#[cfg(all(feature = "x11", not(any(target_os = "macos", windows))))]
info!("Running on {}", if window_event_loop.is_x11() { "X11" } else { "Wayland" });