mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:57:35 +00:00
Browser+Ladybird: Render text in the JS console with a monospace font
This commit is contained in:
parent
d44df16704
commit
61c0174fec
2 changed files with 4 additions and 2 deletions
|
@ -25,7 +25,7 @@ ConsoleWidget::ConsoleWidget()
|
|||
set_fill_with_background_color(true);
|
||||
|
||||
m_output_view = add<WebView::OutOfProcessWebView>();
|
||||
m_output_view->load("data:text/html,<html></html>"sv);
|
||||
m_output_view->load("data:text/html,<html style=\"font: 10pt monospace;\"></html>"sv);
|
||||
// Wait until our output WebView is loaded, and then request any messages that occurred before we existed
|
||||
m_output_view->on_load_finish = [this](auto&) {
|
||||
if (on_request_messages)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue