diff options
author | Christian Duerr <contact@christianduerr.com> | 2018-03-09 19:45:40 +0100 |
---|---|---|
committer | Joe Wilm <joe@jwilm.com> | 2018-06-02 09:44:58 -0700 |
commit | d3f64072f3fe4d31f7a60eb0cb17a98096617b4b (patch) | |
tree | 3b9e13888df43cff8a976e4edcf1f9be89d82023 /alacritty_macos.yml | |
parent | a2f127a5e65c8a6f4e1fc0bf79cc832d161a01b7 (diff) | |
download | alacritty-d3f64072f3fe4d31f7a60eb0cb17a98096617b4b.tar.gz alacritty-d3f64072f3fe4d31f7a60eb0cb17a98096617b4b.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_macos.yml')
-rw-r--r-- | alacritty_macos.yml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/alacritty_macos.yml b/alacritty_macos.yml index f2c75899..16c95903 100644 --- a/alacritty_macos.yml +++ b/alacritty_macos.yml @@ -31,8 +31,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: 3 + + # 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 @@ -190,22 +206,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: ",│`|:\"' ()[]{}<>" |