aboutsummaryrefslogtreecommitdiff
path: root/src/ansi.rs
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2018-09-18 15:54:40 +0000
committerGitHub <noreply@github.com>2018-09-18 15:54:40 +0000
commit00bd098765f9e1a36e1813336f8c9690ebdd5e78 (patch)
treee9c3c0c22937f6e0be206acbdc0d4e0ca1b03337 /src/ansi.rs
parent63a40df5203178bbea1ff1a6988e6d30b6f992f4 (diff)
downloadalacritty-00bd098765f9e1a36e1813336f8c9690ebdd5e78.tar.gz
alacritty-00bd098765f9e1a36e1813336f8c9690ebdd5e78.zip
Set upper limit for scrollback history size
Since the scrollback history allocates all lines in memory, it is possible to specify a scrollback history which is big enough to freeze the computer due to OOM. To resolve this issue, an upper limit of `100_000` has been set for the scrollback history. Even though this might still cause some systems to freeze, this should provide a good balance for most users.
Diffstat (limited to 'src/ansi.rs')
0 files changed, 0 insertions, 0 deletions