1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 19:15:09 +00:00

LibMarkdown: Take a 'view_width' argument for render_for_terminal()

Some constructs will require the width of the terminal (or a general
'width') to be rendered correctly, such as tables.
This commit is contained in:
AnotherTest 2020-09-20 16:41:04 +04:30 committed by Andreas Kling
parent 5fbec2b003
commit aa65f664a9
12 changed files with 30 additions and 14 deletions

View file

@ -47,7 +47,7 @@ String List::render_to_html() const
return builder.build();
}
String List::render_for_terminal() const
String List::render_for_terminal(size_t) const
{
StringBuilder builder;