aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2018-04-07 01:50:14 +0200
committerJoe Wilm <jwilm@users.noreply.github.com>2018-04-24 09:59:52 -0700
commite99e40059dd6527568279f885d682dcf0568d620 (patch)
tree62e9ebf8ab58ce779256e6fc0d48ace48271609f /docs
parent0d568180761d7da56e756762d5f4b1555eea6a7f (diff)
downloadalacritty-e99e40059dd6527568279f885d682dcf0568d620.tar.gz
alacritty-e99e40059dd6527568279f885d682dcf0568d620.zip
Fix scrollback history size 0 bug
There was an issue where alacritty would panic whenever the scrollback history size is set to 0, this fixes that issue. The panic was caused by a substraction with unsigned integers which was underflowing, this has been fixed to use `saturating_sub`. After that was fixed there was still a bug where scrollback would not behave correctly because the number of lines in the grid was decided at startup. This has been adapted so whenever the size of the terminal changes, the scrollback history and grid adapts to make sure the number of lines in the terminal is always the number of visible lines plus the amount of scrollback lines configured in the config file. This fixes #1150.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions