1
0
Fork 0
mirror of https://github.com/alacritty/alacritty.git synced 2024-11-18 13:55:23 -05:00
alacritty/font/src
Christian Duerr 228400a6c2
Prevent font_size_modifier from sinking too low (#994)
This replaces the `font_size_modifier` stored on the `Term` struct with a `font_size` field.

With this change it is not necessary anymore to calculate the new font size from a delta but the current font size is always stored directly on the `Term` struct.

As a result of this it is now possible to increase the font size by more than 127 steps at runtime. It also limits the minimum font size to 1, so issues with the `font_size_modifier` dropping far below font size 1 are resolved with this change.

This fixes #955.
2018-01-05 03:22:58 +00:00
..
darwin Refactor darwin code 2017-12-24 09:46:54 -08:00
ft Move custom cursor block on ft 2017-12-24 09:46:54 -08:00
lib.rs Prevent font_size_modifier from sinking too low (#994) 2018-01-05 03:22:58 +00:00