diff options
Diffstat (limited to 'Libraries/LibVT')
-rw-r--r-- | Libraries/LibVT/TerminalWidget.cpp | 6 | ||||
-rw-r--r-- | Libraries/LibVT/TerminalWidget.h | 1 |
2 files changed, 0 insertions, 7 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; diff --git a/Libraries/LibVT/TerminalWidget.h b/Libraries/LibVT/TerminalWidget.h index 195e3c4a3f..6462740759 100644 --- a/Libraries/LibVT/TerminalWidget.h +++ b/Libraries/LibVT/TerminalWidget.h @@ -89,7 +89,6 @@ public: bool is_scrollable() const; int scroll_length() const; - void set_scroll_length(int); size_t max_history_size() const { return m_terminal.max_history_size(); } void set_max_history_size(size_t value) { m_terminal.set_max_history_size(value); } |