1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:08:10 +00:00

Terminal: Remove redundant scroll length settings option

This is no longer needed as a global one is now available
under mouse settings.
This commit is contained in:
Idan Horowitz 2020-12-29 23:48:07 +02:00 committed by Andreas Kling
parent fd945c8007
commit 7e457b98c3
4 changed files with 0 additions and 20 deletions

View file

@ -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;