summaryrefslogtreecommitdiff
path: root/Libraries/LibMarkdown/List.cpp
diff options
context:
space:
mode:
authorAnotherTest <ali.mpfard@gmail.com>2020-09-20 16:41:04 +0430
committerAndreas Kling <kling@serenityos.org>2020-09-27 21:14:18 +0200
commitaa65f664a97abca040663768936b59fa29c2a9e6 (patch)
tree4d4b23a7b5e93bcdd00c5afb0632da9e058582fd /Libraries/LibMarkdown/List.cpp
parent5fbec2b003081f0b444f88b18e3250a96dbdd13f (diff)
downloadserenity-aa65f664a97abca040663768936b59fa29c2a9e6.zip
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.
Diffstat (limited to 'Libraries/LibMarkdown/List.cpp')
-rw-r--r--Libraries/LibMarkdown/List.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibMarkdown/List.cpp b/Libraries/LibMarkdown/List.cpp
index 52bc2816fe..2f043ea59c 100644
--- a/Libraries/LibMarkdown/List.cpp
+++ b/Libraries/LibMarkdown/List.cpp
@@ -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;