diff options
author | Christian Duerr <contact@christianduerr.com> | 2018-03-09 19:45:40 +0100 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2018-03-13 14:52:14 -0700 |
commit | c1e831dab03bd1a48d2aa0f383aa5aaea2b3632b (patch) | |
tree | 6521a6f386bcbe356b4462e827efd9565d159cb7 /alacritty.yml | |
parent | 290e2cfb172565c3b80f207555397f57f1ef7fb0 (diff) | |
download | alacritty-c1e831dab03bd1a48d2aa0f383aa5aaea2b3632b.tar.gz alacritty-c1e831dab03bd1a48d2aa0f383aa5aaea2b3632b.zip |
Merge branch #1095
Because there was some overlap with branch #1095, these two PRs have
been added together and the config has been restructured to make use of
a `scrolling` section.
The default faux scrolling amount has also been changed to `3` because
this simplifies the code and falls in line with what most other terminal
emulators do.
There should be no additional test failures due to this.
Diffstat (limited to 'alacritty.yml')
-rw-r--r-- | alacritty.yml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/alacritty.yml b/alacritty.yml index 4dcdbb2b..d11e8a19 100644 --- a/alacritty.yml +++ b/alacritty.yml @@ -33,8 +33,24 @@ window: # Setting this to false will result in window without borders and title bar. decorations: true -# How many lines of scrollback to keep -scroll_history: 10000 +scrolling: + # How many lines of scrollback to keep, + # '0' will disable scrolling. + history: 10000 + + # Number of lines the viewport will move for every line + # scrolled when scrollback is enabled (history > 0). + multiplier: 1 + + # Faux Scrolling + # + # The `faux_multiplier` setting controls the number + # of lines the terminal should scroll when the alternate + # screen buffer is active. This is used to allow mouse + # scrolling for applications like `man`. + # + # To disable this completely, set `faux_multiplier` to 0. + faux_multiplier: 3 # Display tabs using this many cells (changes require restart) tabspaces: 8 @@ -209,22 +225,6 @@ mouse: double_click: { threshold: 300 } triple_click: { threshold: 300 } - # Faux Scrollback - # - # The `faux_scrollback_lines` setting controls the number - # of lines the terminal should scroll when the alternate - # screen buffer is active. This is used to allow mouse - # scrolling for applications like `man`. - # - # To disable this completely, set `faux_scrollback_lines` to 0. - faux_scrollback_lines: 1 - - # Normal Scrolling - # - # Number of lines the viewport will move when scrolling in - # the terminal with scrollback enabled (>0). - normal_scrolling_lines: 3 - selection: semantic_escape_chars: ",│`|:\"' ()[]{}<>" |