mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
headless-browser: Don't print extra newline after layout tree dumps
The layout tree dump text already contains a final newline, so we don't need to use outln() and add an extra one.
This commit is contained in:
parent
a15a44cfc8
commit
71bdee2837
Notes:
sideshowbarker
2024-07-17 06:35:16 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/71bdee2837
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
view->on_load_finish = [&](auto const&) {
|
||||
auto layout_tree = view->dump_layout_tree().release_value_but_fixme_should_propagate_errors();
|
||||
|
||||
outln("{}", layout_tree);
|
||||
out("{}", layout_tree);
|
||||
fflush(stdout);
|
||||
|
||||
event_loop.quit(0);
|
||||
|
|
Loading…
Reference in a new issue