mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 20:07:36 +00:00
Terminal: Bump the default ScrollLength to 4
This feels so much better than scrolling one line at a time. :^)
This commit is contained in:
parent
310fbe48e5
commit
14477eb565
2 changed files with 2 additions and 1 deletions
|
@ -3,3 +3,4 @@ Command=
|
||||||
[Window]
|
[Window]
|
||||||
Opacity=255
|
Opacity=255
|
||||||
AudibleBeep=0
|
AudibleBeep=0
|
||||||
|
ScrollLength=4
|
||||||
|
|
|
@ -105,7 +105,7 @@ TerminalWidget::TerminalWidget(int ptm_fd, bool automatic_size_policy, RefPtr<Co
|
||||||
m_scrollbar->on_change = [this](int) {
|
m_scrollbar->on_change = [this](int) {
|
||||||
force_repaint();
|
force_repaint();
|
||||||
};
|
};
|
||||||
set_scroll_length(m_config->read_num_entry("Window", "ScrollLength", 1));
|
set_scroll_length(m_config->read_num_entry("Window", "ScrollLength", 4));
|
||||||
|
|
||||||
dbgprintf("Terminal: Load config file from %s\n", m_config->file_name().characters());
|
dbgprintf("Terminal: Load config file from %s\n", m_config->file_name().characters());
|
||||||
m_cursor_blink_timer->set_interval(m_config->read_num_entry("Text",
|
m_cursor_blink_timer->set_interval(m_config->read_num_entry("Text",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue