diff --git a/Ladybird/main.cpp b/Ladybird/main.cpp index 097bea26e1f..7dccb2e028b 100644 --- a/Ladybird/main.cpp +++ b/Ladybird/main.cpp @@ -89,6 +89,7 @@ ErrorOr serenity_main(Main::Arguments arguments) view.on_load_finish = [&](auto&) { auto dump = view.dump_layout_tree().release_value_but_fixme_should_propagate_errors(); outln("{}", dump); + fflush(stdout); _exit(0); }; view.load(url);