mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Force alert message to its own line.
This commit is contained in:
parent
191f6c41a0
commit
2aa415a3ff
1 changed files with 1 additions and 1 deletions
|
@ -615,7 +615,7 @@ impl WindowMethods for Window {
|
|||
let mut stderr = stderr.lock();
|
||||
let stdout = stdout();
|
||||
let mut stdout = stdout.lock();
|
||||
writeln!(&mut stdout, "ALERT: {}", s).unwrap();
|
||||
writeln!(&mut stdout, "\nALERT: {}", s).unwrap();
|
||||
stdout.flush().unwrap();
|
||||
stderr.flush().unwrap();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue