1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-25 14:05:41 -05:00

Restructure message bar log message

The first line is not really useful for the user, so move it to the
bottom.
This commit is contained in:
Kirill Chibisov 2024-10-02 23:58:14 +03:00 committed by GitHub
parent 3db09595f3
commit 58383f4e46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -113,11 +113,11 @@ impl Logger {
let env_var = format!("%{}%", ALACRITTY_LOG_ENV);
let message = format!(
"[{}] See log at {} ({}):\n{}",
"[{}] {}\nSee log at {} ({})",
record.level(),
record.args(),
logfile_path,
env_var,
record.args(),
);
let mut message = Message::new(message, message_type);