summaryrefslogtreecommitdiff
path: root/Libraries/LibVT/TerminalWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibVT/TerminalWidget.cpp')
-rw-r--r--Libraries/LibVT/TerminalWidget.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/Libraries/LibVT/TerminalWidget.cpp b/Libraries/LibVT/TerminalWidget.cpp
index b03aa23c5b..d7ffcfbc7c 100644
--- a/Libraries/LibVT/TerminalWidget.cpp
+++ b/Libraries/LibVT/TerminalWidget.cpp
@@ -112,7 +112,6 @@ TerminalWidget::TerminalWidget(int ptm_fd, bool automatic_size_policy, RefPtr<Co
m_scrollbar->on_change = [this](int) {
force_repaint();
};
- set_scroll_length(m_config->read_num_entry("Window", "ScrollLength", 4));
dbgln("Load config file from {}", m_config->file_name());
m_cursor_blink_timer->set_interval(m_config->read_num_entry("Text",
@@ -843,11 +842,6 @@ int TerminalWidget::scroll_length() const
return m_scrollbar->step();
}
-void TerminalWidget::set_scroll_length(int length)
-{
- m_scrollbar->set_step(length);
-}
-
String TerminalWidget::selected_text() const
{
StringBuilder builder;